mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
631d768be9
We do lazy initialization and (potentially) reuse of an output format's rendered content. We do this evaluation when we start a new rendering a new output format. There are, however, situation where these borders gets crossed (e.g. accessing content from another output format). We have a check for this in place for most cases, but not the content rendering of inner markdown blocks inside shortcodes. This patch applies that same logic to the newly introduced RenderContent method (which is not available from the templates). Fixes #10391 |
||
---|---|---|
.. | ||
images | ||
internal | ||
jsconfig | ||
page | ||
postpub | ||
resource | ||
resource_factories | ||
resource_transformers | ||
testdata | ||
errorResource.go | ||
image.go | ||
image_cache.go | ||
image_extended_test.go | ||
image_test.go | ||
integration_test.go | ||
post_publish.go | ||
resource.go | ||
resource_cache.go | ||
resource_cache_test.go | ||
resource_metadata.go | ||
resource_metadata_test.go | ||
resource_spec.go | ||
resource_test.go | ||
testhelpers_test.go | ||
transform.go | ||
transform_test.go |