Hi,
I have an issue with rendering links. characters are not escaped correctly. The following
[hasn't been replicated yet.](https://www.aol.fr)
is rendered like this:
hasn’t been replicated yet.
Without enclosing the text in a link, it’s rendered correctly, it is not the browser.
hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended linux/amd64 BuildDate=2024-03-20T11:40:10Z VendorInfo=gohugoio
Are you using transform.HTMLEscape | Hugo or any other customized markdown setting ?
No.
<a {{with .Title}}tooltip="{{.}}"{{end}} href="{{- $destination -}}"{{if $isRemote}} rel="external nofollow" target="_blank"{{- end -}}>{{- .Text -}}</a>
This is template code. But the original question is about markdown code.
Are you mixing the two ?
no, there was no weird things in my text. Just hasn't been replicated yet.
Look at the link render hook examples in the documentation.
https://gohugo.io/render-hooks/links/#examples
Strange, I can’t remember needing that before. Thanks.
At one point, on one of your sites, you disabled Go’s html/template package for one of your output formats.
Your sentences are very ambiguous.
It would be better if you would frame proper sentences before posting on the forum.
1 Like
Care to elaborate ? I fail to see what was not a proper sentence in my posts 
system
Closed
11
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.