mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
unescape broken after remove semicolons action (#2986)
This commit is contained in:
committed by
John-David Dalton
parent
2ab6da5b51
commit
b37e973463
10
unescape.js
10
unescape.js
@@ -2,11 +2,11 @@ import toString from './toString.js'
|
||||
|
||||
/** Used to map HTML entities to characters. */
|
||||
const htmlUnescapes = {
|
||||
'&: '&',
|
||||
'<: '<',
|
||||
'>: '>',
|
||||
'": '"',
|
||||
'': "'"
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
''': "'"
|
||||
}
|
||||
|
||||
/** Used to match HTML entities and HTML characters. */
|
||||
|
||||
Reference in New Issue
Block a user