mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 16:51:47 +00:00
c1b9380dfd
Modified markdownRender and markdownRenderWithTOC in hugolib/page.go to use the same flags and extensions as were previously used when we simply called blackfriday.MarkdownCommon to convert Markdown to HTML. These flags/extensions were dropped during the refactor that added the `.TableOfContents` page variable, and caused features like Markdown tables to no longer work. Modified the expected output for TestTableOfContents in page_test.go, apparently changing the flags/extensions caused an `—` to become `–`. |
||
---|---|---|
.. | ||
benchmark_test.go | ||
config.go | ||
index.go | ||
indexing_test.go | ||
metadata.go | ||
node.go | ||
page.go | ||
page_index_test.go | ||
page_permalink_test.go | ||
page_test.go | ||
page_time_integration_test.go | ||
pageSort.go | ||
path.go | ||
path_seperators_test.go | ||
permalinks.go | ||
permalinks_test.go | ||
planner.go | ||
redis.cn.md | ||
rss_test.go | ||
shortcode.go | ||
site.go | ||
site_show_plan_test.go | ||
site_test.go | ||
site_url_test.go | ||
siteinfo_test.go | ||
summary.go |