This snippet will ensure that text will store inside "markup" languages (i.e. HTML and XML). Nothing elegant... but highly useful. ;)
Click here to download the snippet: HTML Encode
Sample Input:
<Sample>Some common text & such. Lance really likes using the · symbol in S·O·S, doesn't he?</Sample>
Sample Output:
<Sample>Some common text & such. Lance really likes using the · symbol in S·O·S, doesn't he?</Sample>
Thursday, December 27, 2007
Snippet: HTML Encode
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment