Re:Circle-Ellipse Problem
by pornel on Sunday April 17, 2011 @02:44PM
(#2456661)
Since there is no universally safe string, it would be better to call it HTMLString (different context such as SQL, e-mail headers, CLI require different types of sanitisation).
string.convertToHTML() would escape special characters as HTML entities, preserving the fact that it's just a benign text.
string.convertToHTML() would escape special characters as HTML entities, preserving the fact that it's just a benign text.