# Given the following code
html = "<div id='test'>Johnson(s law: Systems resemble the organizations that create them</div>"
parsed = Nokogiri::HTML::DocumentFragment.parse(html)
# I get this:
parsed.to_html
--> "<div id=\"test\">Johnson(s law: Systems resemble the organizations that create them</div>"
On the original page where I got the html (
http://motd.ambians.com/quotes.php/name/freebsd_fortunes_4/toc_id/1-0-5/s/1941) the '(' showed up as an apostrophe.
I'm guessing that I'm not encoding something properly. Anyone know how to keep that html code as an apostrophe?
Thanks,
Justin