#51 ✓resolved
Mark Caudill

String#escapeHTML checks, String#unescapeHTML cleanup

Reported by Mark Caudill | August 8th, 2009 @ 12:05 AM

JDD's rewrite of String#escapeHTML uses a textNode.data = str; result = node.innerHTML; concept to extract an escaped version of the string. Does the length of the string determine if this is faster than the old style of using the .replace functionality?

Also, String#unescapeHTML could use a bit of documentation since it's pretty complex. Maybe a bit of formatting.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.

People watching this ticket