hugo/hugolib
Bjørn Erik Pedersen 086ae81a98
hugolib: Fix possible .Content cut
There have been one report of a site with truncated `.Content` after the Hugo `0.40.1` release.

This commit fixes this so that race should not be possible anymore. It also adds a stress test with focus on content rendering and multiple output formats.

Fixes #4706
2018-05-08 16:52:51 +02:00
..
pagemeta
testdata
testsite/content
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go Make .Content (almost) always available in shortcodes 2018-04-21 22:02:56 +02:00
config_test.go
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go Make .Content (almost) always available in shortcodes 2018-04-21 22:02:56 +02:00
fileInfo.go
gitinfo.go
hugo_info.go
hugo_info_test.go
hugo_sites.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
hugo_sites_build.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
hugo_sites_build_failures_test.go
hugo_sites_build_test.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
hugo_sites_multihost_test.go
language_content_dir_test.go
media.go
menu.go
menu_test.go
multilingual.go
orderedMap.go hugolib: Defer the unlock in orderedMap.Add 2018-04-22 21:32:05 +02:00
orderedMap_test.go hugolib: Process and render shortcodes in their order of appearance 2018-04-22 17:40:51 +02:00
page.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
page_bundler.go
page_bundler_capture.go
page_bundler_capture_test.go
page_bundler_handlers.go Make .Content (almost) always available in shortcodes 2018-04-21 22:02:56 +02:00
page_bundler_test.go hugolib: Add .Page.BundleType 2018-04-23 08:41:19 +02:00
page_collections.go
page_collections_test.go
page_output.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
page_paths.go
page_paths_test.go
page_permalink_test.go
page_resource.go
page_taxonomy_test.go
page_test.go Fix .WordCount, .FuzzyWordCount, .ReadingTime when summary marker is set 2018-04-29 10:58:58 +02:00
page_time_integration_test.go
page_without_content.go Make .Content (almost) always available in shortcodes 2018-04-21 22:02:56 +02:00
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pages_language_merge.go
pages_language_merge_test.go Add language merge support for Pages in resource.Resources 2018-04-19 16:23:00 +02:00
pages_related.go
pages_related_test.go
pageSort.go Make .Content (almost) always available in shortcodes 2018-04-21 22:02:56 +02:00
pageSort_test.go hugolib: Fix some shortcode vs .Content corner cases 2018-04-25 08:56:46 +02:00
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
prune_resources.go
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go hugolib: Fix some shortcode vs .Content corner cases 2018-04-25 08:56:46 +02:00
shortcode_test.go tpl/tplimpl: Extract internal templates 2018-05-04 23:12:10 +02:00
shortcodeparser.go Allow "*/" inside commented out shortcodes 2018-04-11 22:41:48 +02:00
shortcodeparser_test.go Allow "*/" inside commented out shortcodes 2018-04-11 22:41:48 +02:00
site.go Reset .Page.Scratch on live-reload 2018-04-30 08:21:22 +02:00
site_benchmark_test.go
site_output.go
site_output_test.go
site_render.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go
template_engines_test.go
template_test.go
testhelpers_test.go hugolib: Fix possible .Content cut 2018-05-08 16:52:51 +02:00
translations.go