>> text = "<html><body>foo—bar</body></html>";
>> @doc = Nokogiri.parse(text)
=> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body>foo—bar</body></html>
I'd like this to leave the em-dash as — and can't seem to find
anything in the documentation about how to make Nokogiri do so.