[Ur] HTML Being escaped?

Adam Chlipala adamc at csail.mit.edu
Tue Jul 9 08:39:28 EDT 2013


On 07/08/2013 09:53 PM, David Snider wrote:
> https://github.com/sniderd/urtodo
>
> in app/views/index.ur the pageview function is rendering the XML with 
> < and I'm not sure why

It's because you used {[ ... ]} brackets instead of { ... } brackets.  
The former ask for conversion to a string to render as CDATA, whereas 
the latter are for splicing in XML subtrees.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20130709/04ec24b2/attachment.html>


More information about the Ur mailing list