Skip to content

Instantly share code, notes, and snippets.

@aselder
Created November 10, 2011 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aselder/1354253 to your computer and use it in GitHub Desktop.
Save aselder/1354253 to your computer and use it in GitHub Desktop.
Mangled Nokogiri Doc
#<Nokogiri::HTML::Document:0x..fdbc0ebe8 name="document" children=[#<Nokogiri::XML::DTD:0x..fdbc0e526 name="HTML">,
#<Nokogiri::XML::Comment:0x..fdbc0e4fe "\nbody { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight:
normal; color: black; background: white;}\nth,td { font-size: 10px;}\nh1 { font-size: x-large; margin-bottom: 0.5em;}\nh2
{ font-family: helvetica, arial; font-size: x-large; font-weight: bold; font-style: italic; color: #6020a0; margin-top:
0em; margin-bottom: 0em;}\nh3 { font-family: helvetica, arial; font-size: 16px; font-weight: bold; color: #b00040;
background: #e8e8d0; margin-top: 0em; margin-bottom: 0em;}\nli { margin-top: 0.25em; margin-right: 2em;}\n.hr
{margin-top: 0.25em; border-color: black; border-bottom-style: solid;}\n.titre\t{background: #20D0D0;color: #000000;
font-weight: bold; text-align: center;}\n.total\t{background: #20D0D0;color: #ffff80;}\n.frontend\t{background: #e8e8d0;}
\n.socket\t{background: #d0d0d0;}\n.backend\t{background: #e8e8d0;}\n.active0\t{background: #ff9090;}\n.active1
\t{background: #ffd020;}\n.active2\t{background: #ffffa0;}\n.active3\t{background: #c0ffc0;}\n.active4\t{background: #ffffa0;}
\n.active5\t{background: #a0e0a0;}\n.active6\t{background: #e0e0e0;}\n.backup0\t{background: #ff9090;}\n.backup1
\t{background: #ff80ff;}\n.backup2\t{background: #c060ff;}\n.backup3\t{background: #b0d0ff;}\n.backup4\t{background: #c060ff;}
\n.backup5\t{background: #90b0e0;}\n.backup6\t{background: #e0e0e0;}\n.maintain\t{background: #c07820;}\n.rls
{letter-spacing: 0.2em; margin-right: 1px;}\n\na.px:link {color: #ffff40; text-decoration: none;}
a.px:visited {color: #ffff40; text-decoration: none;}a.px:hover {color: #ffffff; text-decoration: none;}a.lfsb:link
{color: #000000; text-decoration: none;}a.lfsb:visited {color: #000000; text-decoration: none;}a.lfsb:hover
{color: #505050; text-decoration: none;}\ntable.tbl { border-collapse: collapse; border-style: none;}\ntable.tbl td
{ text-align: right; border-width: 1px 1px 1px 1px; border-style: solid solid solid solid; padding: 2px 3px;
border-color: gray; white-space: nowrap;}\ntable.tbl td.ac { text-align: center;}\ntable.tbl th { border-width: 1px; border-style:
solid solid solid solid; border-color: gray;}\ntable.tbl th.pxname { background: #b00040; color: #ffff40; font-weight: bold; border-style:
solid solid none solid; padding: 2px 3px; white-space: nowrap;}\ntable.tbl
th.empty { border-style: none; empty-cells: hide; background: white;}\ntable.tbl th.desc { background: white;
border-style: solid solid none solid; text-align: left; padding: 2px 3px;}\n\ntable.lgd { border-collapse: collapse;
border-width: 1px; border-style: none none none solid; border-color: black;}\ntable.lgd td { border-width: 1px;
border-style: solid solid solid solid; border-color: gray; padding: 2px;}\ntable.lgd td.noborder { border-style: none;
padding: 2px; white-space: nowrap;}\nu {text-decoration:none; border-bottom: 1px dotted black;}\n">]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment