tenderlove/nokogiri — Issue #577: Documentation is showing raw formatting HTML literally
Author: Phrogz
Created: 2011-12-01 22:37:21+00:00
State: open

1. Go to http://nokogiri.org/Nokogiri/XML/Builder.html

**EXPECTED**: Nice formatting.
**ACTUAL**: Synopsis has the following HTML markup displayed with line numbers:

builder = Nokogiri::XML::Builder.new do |xml|
xml.root {
xml.products {
xml.widget {
xml.id_ "1span>
xml.name "Awesome widget"
}
}
}
span class="ruby-keyword">end
puts builder.to_xml