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/.