I have this in the front matter of my .md
file:
introduction = "<p>This is the page's **introduction**, with a link to [more](/) content.</p>"
I include that in my page as follows:
{{ if isset .Params "introduction" }}
{{ .Params.introduction | markdownify }}
{{ end }}
It renders, however, as:
This is the page's **introduction**, with a link to [more](/) content.
Now if I add an empty space in the front matter string like so:
introduction = " <p>This is the page's **introduction**, with a link to [more](/) content.</p>"
The same markdownify
command renders as:
<p>This is the page’s <strong>introduction</strong>, with a link to <a href="http://localhost:1313/">more</a> content.</p>
My question: Should markdownify
be affected by a single space, or am I overlooking some Markdown feature which would totally explain this (for me confusing) behaviour?
Thanks for any insights!
I:\website>hugo env
Hugo Static Site Generator v0.20.2 windows/amd64 BuildDate: 2017-04-16T11:19:32+02:00
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.8.1"