Convert tags to html entities
Posted
by Sarfraz
on Stack Overflow
See other posts from Stack Overflow
or by Sarfraz
Published on 2010-04-10T13:42:28Z
Indexed on
2010/04/10
13:43 UTC
Read the original article
Hit count: 464
Hello,
Is it possible to convert html tags to html entities using javascript/jquery using any way possible such as regex or some other way. If yes, then how?
Example:
<div>
should be converted to <div>
© Stack Overflow or respective owner