From e956f6b7b66d342ecc32147a3d193bf3b5248ada Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Tue, 7 Aug 2018 12:15:27 -0400 Subject: [PATCH] squash: quick fix for < and > Preferred long term fix can be found at: https://github.com/nodejs/node/pull/22140 --- tools/doc/html.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/doc/html.js b/tools/doc/html.js index f7c08779a71efa..d65a4b323aef36 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -199,6 +199,8 @@ function preprocessElements({ filename }) { type: 'text', value: file.contents.slice( position.start.offset, position.end.offset) + .replace('<', '<') + .replace('>', '>') .replace(/\\(.{1})/g, '$1'), position }];