[Rails] Re: ERb question with xml

brez! !! jbresnik at gmail.com
Fri Jun 30 16:19:56 GMT 2006


answer:

 xml.em {
  xml.text! "just emph and"; xml.b("emp & bold");
 }


and

 xml.para {
  xml.text! "Some text and then an inline"; xml.quote("word"); xml.text! 
"appears in quotes."
 }


-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list