Skip to content

Commit f6d4360

Browse files
committed
Avoid double encoding of function signatures - fixes #2720
1 parent a6bf95c commit f6d4360

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

generate-docs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ class Generator {
138138
path + ((/http/).test(path) ? extension : ".html")
139139
)
140140

141-
// Fix type signatures containing Array<...>
142-
body = body.replace(/(\W)Array<([^/<]+?)>/gim, "$1Array&lt;$2&gt;")
143-
144141
const markedHtml = marked(body)
145142
const title = body.match(/^#([^\n\r]+)/i) || []
146143

0 commit comments

Comments
 (0)