Hi,<br><br>I've started looking at <a href="http://merb.devjavu.com/projects/merb/ticket/90">ticket 90</a> and there are a couple of situations that the current implementation doesn't cater for.<br><br><ol><li>Tag Attributes are wiped out.
<br></li><ul><li><tag1 attr1='1'>Content</tag1> #=> { "tag1" => "Content" }</li><li>I think it should return</li><li>{"tag1" => { "attr1" => '1', "__content__" => "Content" }
</li></ul><li>Mixed content can throw an error or get clobbered</li><ul><li><tag1>Content <em>is</em> Clobbered</tag1> #=> Raises a Private error called on array gsub</li><li><tag1>Content <em>is</em></tag1> #=> Clobbered. Returns {"tag1"=>"Content "}
</li><li>Feels like it should return</li><li>{"tag1"=>"Content &lt;em&gt;is&lt/em&gt;Clobbered" }</li></ul></ol><br>Is the current behaviour what is required or should these inconsitencies be fixed?
<br><br>Cheers<br>Daniel<br><br>