unescape broken after remove semicolons action (#2986)

This commit is contained in:
Michał Lipiński
2017-02-09 17:19:31 +01:00
committed by John-David Dalton
parent 2ab6da5b51
commit b37e973463

View File

@@ -2,11 +2,11 @@ import toString from './toString.js'
/** Used to map HTML entities to characters. */
const htmlUnescapes = {
'&amp: '&',
'&lt: '<',
'&gt: '>',
'&quot: '"',
'&#39: "'"
'&amp;': '&',
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&#39;': "'"
}
/** Used to match HTML entities and HTML characters. */