inserting xml entities as strings into the nokogiri document goes bam
Reported by Nicholas Faiz | July 7th, 2009 @ 11:29 PM
Inserting a string such as 1 < 2 using before on an XML node creates an error.
This probably applies to all XML entities. Suggested workaround is to encode them in renshi separately, so they can be transformed into the correct symbol (to execute as ruby) once the XML doc has been transformed into a string.
Comments and changes to this ticket
-
Nicholas Faiz July 8th, 2009 @ 07:46 PM
- State changed from new to resolved
Done - < and > and & are encoded (see parser). No need for the others - '. ".
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Renshi is a templating language for Ruby which is unobtrusive in HTML and XHTML structures - http://github.com/biv/renshi/tree/master