inlcuding   in rhtml file

30 views
Skip to first unread message

Tom Hirschfeld

unread,
May 1, 2014, 1:13:45 PM5/1/14
to rapt...@googlegroups.com
Hey, 
I am having trouble including a non breaking space html entity in my rhtml template. Loading the page with a non breaking space html entity throws an invalid character entity for the semi colon in the html entity. How do you include html entities in rhtml?
Best,
Tom Hirschfeld

Phil Gates-Idem

unread,
May 1, 2014, 1:24:05 PM5/1/14
to rapt...@googlegroups.com
Tom,

You'll want to use this (not well-documented but self-explanatory):
${entity:nbsp}

FYI, I'm still using the original raptorjs for some of my project but raptorjs3 is actively being developed. The new version aims to make adoption of easier and also switches to using CommonJS instead of AMD. One big change, was splitting the raptorjs library into smaller modules (raptor-templates, raptor-optimizer, etc.).

Here's documentation for the two modules that might be of interest to you:

-phil

Tom Hirschfeld

unread,
May 2, 2014, 1:12:27 PM5/2/14
to rapt...@googlegroups.com
Thanks,
works well.
Best,
Tom Hirschfeld


--
You received this message because you are subscribed to a topic in the Google Groups "RaptorJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/raptorjs/7F8CuRZOswQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to raptorjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages