hugo/resources
Bjørn Erik Pedersen 631d768be9 Revise the fix for shortcode vs output format nilpointer
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
2022-10-26 13:00:21 +02:00
..
images resources/images: Fix 2 animated GIF resize issues 2022-10-04 15:38:12 +02:00
internal
jsconfig
page Revise the fix for shortcode vs output format nilpointer 2022-10-26 13:00:21 +02:00
postpub
resource
resource_factories Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
resource_transformers
testdata resources/images: Fix 2 animated GIF resize issues 2022-10-04 15:38:12 +02:00
errorResource.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
image.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
image_cache.go
image_extended_test.go
image_test.go resources: Update golden image dithering exception list 2022-10-04 16:19:52 +02:00
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 resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
transform_test.go