mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 16:22:05 -05:00
6f7bf3f2d7
This commit adds a new `.InnerDeindent` method to the shortcode context, which is `.Inner` with any indendation removed. This is then used in the built-in `highlight` shortcode to prevent the extra whitespace getting hightlighted. Fixes #4717 |
||
---|---|---|
.. | ||
embedded | ||
integration_test.go | ||
shortcodes.go | ||
shortcodes_test.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_errors.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_test.go | ||
templateFuncster.go | ||
templateProvider.go |