Thanks for the reply! Buffer is a bad choice of wording on my part (lack of a better name for the module). The library is http://github.com/visionmedia/tagz/tree/master which is used by http://github.com/visionmedia/tagz/tree/master Tagz is the one with the Tagz::Buffer module with this issue. The code is pretty much the same as what I posted above. Everything works fine until a method uses #tag to create nested tags, for example in Formz the #fieldset method returns fieldset markup and a legend in the markup as well so two calls to #tag in my current version start to duplicate markup Hope that sort of makes sense :s -- Posted via http://www.ruby-forum.com/.