mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 12:50:51 +00: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 |
||
---|---|---|
.. | ||
cast | ||
collections | ||
compare | ||
crypto | ||
data | ||
debug | ||
diagrams | ||
encoding | ||
fmt | ||
hugo | ||
images | ||
inflect | ||
internal | ||
js | ||
lang | ||
math | ||
openapi/openapi3 | ||
os | ||
partials | ||
path | ||
reflect | ||
resources | ||
safe | ||
site | ||
strings | ||
templates | ||
time | ||
tplimpl | ||
transform | ||
urls | ||
template.go | ||
template_info.go | ||
template_test.go |