diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-28 13:18:50 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-30 11:32:55 +0200 |
commit | d2cfaede5be420c7d8b701d97b98bc61b87e46d5 (patch) | |
tree | db0926a42c3b53df10b87671d1733391b831b517 /main.go | |
parent | 322d19a81fedbf423a047bdf286499d2e25d14be (diff) |
Improve shortcode indentation handling
* Record the leading whitespace (tabs, spaces) before the shortcode when parsing the page.
* Apply that indentation to the rendered result of shortcodes without inner content (where the user will apply indentation).
Fixes #9946
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions