Skip to content

Instantly share code, notes, and snippets.

@syou6162
Created September 8, 2012 04:50
Show Gist options
  • Save syou6162/3671904 to your computer and use it in GitHub Desktop.
Save syou6162/3671904 to your computer and use it in GitHub Desktop.
#!/opt/local/bin/ruby1.9
# -*- coding: utf-8 -*-
require 'hparser'
puts HParser::Parser.new.parse(STDIN.read).map {|e| e.to_html }.join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment