mirror of
https://github.com/documize/community.git
synced 2025-08-08 06:55:28 +02:00
avoid double-escaping MD heading lines
This commit is contained in:
parent
b168a3e724
commit
49d54d513f
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ func (h *htmlToSplit) renderHeading(c *html.Node, level uint64) error {
|
|||
|
||||
func (h *htmlToSplit) newSect(tstr string, level uint64) {
|
||||
h.CFR.Pages = append(h.CFR.Pages, h.thisSect)
|
||||
title := utility.EscapeHTMLcomplexChars(tstr)
|
||||
title := tstr //was: utility.EscapeHTMLcomplexChars(tstr) -- removed to avoid double-escaping
|
||||
body := ``
|
||||
if len(title) > maxTitle {
|
||||
body = title[maxTitle:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue