Skip to content

Commit

Permalink
squash: quick fix for < and >
Browse files Browse the repository at this point in the history
Preferred long term fix can be found at:
#22140
  • Loading branch information
rubys committed Aug 13, 2018
1 parent 4c6e3e0 commit e956f6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/doc/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ function preprocessElements({ filename }) {
type: 'text',
value: file.contents.slice(
position.start.offset, position.end.offset)
.replace('&lt;', '<')
.replace('&gt;', '>')
.replace(/\\(.{1})/g, '$1'),
position
}];
Expand Down

0 comments on commit e956f6b

Please sign in to comment.