diff --git a/exampleSite/content/test-product/everything.md b/exampleSite/content/test-product/everything.md index fd2e9467..d07711fe 100644 --- a/exampleSite/content/test-product/everything.md +++ b/exampleSite/content/test-product/everything.md @@ -69,4 +69,9 @@ This won't render anything.
Learn how to pin NGINX Plus to a specific version And this is the content on how to do so. -
\ No newline at end of file + + +## [Heading with link](https://nginx.org/) + +This is some text, under a heading with a link. +There was a bug, where if a heading had a link in it, it would get duplicated in old frame. \ No newline at end of file diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 2a081212..4111b890 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -7,7 +7,9 @@ -
{{ .Text | safeHTML }} +
\ No newline at end of file