Railsers:
The documentation for *.rhtml views invariably mentions *.rxml views.
They sound like a Good Thing, because some of my generating code mixes
Ruby and HTML so densely that the code is full of %><% markers.
Dropping down to only one language would be a blessing.
However, this documentation invariably avoids mentioning one tiny,
insignificant detail:
How do you inject raw HTML into a Builder::XmlMarkup builder?
Each time I try, the Builder escapes everything, as if my users wanted
to see my <form> tags and such, raw in their browser.
So if I wanted to put form_tag and other view helpers into a Builder,
how do I unescape the HTML they create?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---