Skip to content

Commit fd964d4

Browse files
werwolf2303matz3
authored andcommitted
docs: Fix pipe encoding in Markdown files
1 parent a5dc9e4 commit fd964d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/documentation/jsdoc/docdash/publish.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ function generate(type, title, docs, filename, resolveLinks) {
228228
html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a>
229229
}
230230

231-
fs.writeFileSync(outpath, html, 'utf8');
231+
// Modified: replaceAll fixes pipe escaping
232+
fs.writeFileSync(outpath, html.replaceAll("\\&#124;", "&#124;"), 'utf8');
232233
}
233234

234235
// Modified: Don't write source files

0 commit comments

Comments
 (0)