mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 23:42:11 -05:00
63126c6359
* Removes any surrounding paragraph nodes * And transfers any attributes from the surrounding paragraph down to the image node * Adds IsBlock and Ordinal (zero based) field to the image context passed to the image render hooks IsBlock is set to true if `wrapStandAloneImageWithinParagraph = false` and the image's parent node has only one child. Closes #8362 Fixes #10492 Fixes #10494 Fixes #10501 |
||
---|---|---|
.. | ||
codeblocks | ||
goldmark_config | ||
images | ||
internal | ||
links | ||
autoid.go | ||
autoid_test.go | ||
convert.go | ||
convert_test.go | ||
integration_test.go | ||
render_hooks.go | ||
toc.go | ||
toc_test.go |