How do I do it? E.g.,
<span class="selected" id="hi">HELLO</span>
should become
<span id="hi">HELLO</span>
How do I do it? E.g.,
<span class="selected" id="hi">HELLO</span>
should become
<span id="hi">HELLO</span>
span = Hpricot(some_html) % "span#hi"
span.remove_attribute("class")