{{ replace .Page.TableOfContents "nav id=\"TableOfContents\"" "div class=\"toc\"" | safeHTML }}
This worked for me. I needed to escape the characters.
Thank you a lot for the quick help!
{{ replace .Page.TableOfContents "nav id=\"TableOfContents\"" "div class=\"toc\"" | safeHTML }}
This worked for me. I needed to escape the characters.
Thank you a lot for the quick help!