File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 '>' : '>' ,
6464 '"' : '"' ,
6565 "'" : ''' ,
66- '/' : '/'
66+ '/' : '/' ,
67+ '`' : '`' ,
68+ '=' : '='
6769 } ;
6870
6971 function escapeHtml ( string ) {
70- return String ( string ) . replace ( / [ & < > " ' \/ ] / g, function fromEntityMap ( s ) {
72+ return String ( string ) . replace ( / [ & < > " ' ` = \/ ] / g, function fromEntityMap ( s ) {
7173 return entityMap [ s ] ;
7274 } ) ;
7375 }
Original file line number Diff line number Diff line change 22 title : function ( ) {
33 return "Bear > Shark" ;
44 } ,
5- entities : "" \"'<>/"
5+ entities : "" \"'<>`= /"
66} )
Original file line number Diff line number Diff line change 11<h1>Bear > Shark</h1>
2- And even &quot; "'<>/, but not " "'<>/.
2+ And even &quot; "'<>`=&# x2F;, but not " "'<>`= /.
You can’t perform that action at this time.
0 commit comments