Written by
java-style
on
on
[JS&jQuery] 특수문자, Entity Code 치환
[JS&jQuery] 특수문자, Entity Code 치환
String . prototype .unescapeHtml = function () {
return this .replace( / & amp; / g, "&" ).replace( / & lt; / g, "<" ).replace( / & gt; / g, ">" ).replace( / & quot; / g, "\"" );
}
from http://jinalim-dev.tistory.com/31 by ccl(A) rewrite - 2021-09-11 01:27:15