Skip to content

Commit

Permalink
fix: title anchor enable render html
Browse files Browse the repository at this point in the history
Add `safeHTML` to enable render html in <h1> or others head tag.
Close #73
  • Loading branch information
WignLim committed Feb 14, 2022
1 parent 853548b commit 6194cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
</path>
</svg>
</a>
{{ .Text }}
{{ .Text | safeHTML }}
</h{{ .Level }}>

0 comments on commit 6194cdb

Please sign in to comment.