Copy monkey_patch.rb or util.rb content into your project.
string.to_pretty_htmlstring.to_pretty_html(skip_validation: false) # defaultstring.to_pretty_html(skip_validation: true)-
Create a file named
example.rb. -
Copy its content from gist.
-
Run it.
ruby example.rb