search for: fixup_tag

Displaying 1 result from an estimated 1 matches for "fixup_tag".

Did you mean: fixup_tags
2009 Sep 25
1
how to remove bogusetag by hpricot?
I have use hpricot to translate users'' input html. I want to remove bogusetag as follows: >>doc = Hpricot "<p> test world</b></p>", :xhtml_strict => true =>#<Hpricot::Doc {elem <p> " test world" {bogusetag </b>} </p>}> >>doc.to_s =>"<p> test world</b></p>" what I expected is