Skip to content

Commit 33ec43e

Browse files
committed
docs: Fix pipe encoding in Markdown files
1 parent e33be65 commit 33ec43e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)