Skip to content

Commit e956f6b

Browse files
committed
squash: quick fix for < and >
Preferred long term fix can be found at: #22140
1 parent 4c6e3e0 commit e956f6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/doc/html.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ function preprocessElements({ filename }) {
199199
type: 'text',
200200
value: file.contents.slice(
201201
position.start.offset, position.end.offset)
202+
.replace('&lt;', '<')
203+
.replace('&gt;', '>')
202204
.replace(/\\(.{1})/g, '$1'),
203205
position
204206
}];

0 commit comments

Comments
 (0)