开发者

Partial HTML encoder

Suppose I have text with HTML tags, but where not all characters have been encoded. Are there any tools to intelligently encode while leaving the tags intact? Example:

&l开发者_Go百科t;h2>A'b</h2>

to

<h2>A&#39;b-</h2>


You could give HTML Tidy a shot... Im not sure if you can configure it to do only this though...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜