I have use hpricot to translate users’ input html. I want to remove
bogusetag as follows:
doc = Hpricot "
test world
", :xhtml_strict => true
=>#<Hpricot::Doc {elem" test world" {bogusetag }
}>doc.to_s
=>"test world
"
what I expected is “
test world
” without bogusetag , is itpossible?