Sha256: 6fee538ec8acd48e9dcb5b552b8bd98e189f37b7d3ac026b3f544c21e41c0e83
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
$TIDYLIB = '/usr/lib/tidylib.so' require 'rubygems' require_gem 'tidy' html = '<html><title>title</title>Body</html>' xml = Tidy.open(:show_warnings=>true) do |tidy| tidy.options.output_xml = true puts tidy.options.show_warnings xml = tidy.clean(html) puts tidy.errors puts tidy.diagnostics xml end puts xml
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tidy-1.0.1 | test/usage.rb |
tidy-1.0.0 | test/usage.rb |