hugo/parser/pageparser
Bjørn Erik Pedersen d2cfaede5b
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
2022-05-30 11:32:55 +02:00
..
doc.go
item.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
item_test.go
itemtype_string.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pagelexer.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pagelexer_intro.go
pagelexer_shortcode.go
pagelexer_test.go
pageparser.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pageparser_intro_test.go
pageparser_main_test.go
pageparser_shortcode_test.go Improve shortcode indentation handling 2022-05-30 11:32:55 +02:00
pageparser_test.go