We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The original HTML content is
origin = <<-HTML <!doctype html> <html lang="en"> <head> <title></title> </head> <body> </body> </html> HTML
But, I can't get it to print out the DOCTYPE after parsing:
puts MyHTML::Parser.new(origin).root!.to_html
Is there a way to put out the full HTML with a doctype?
The text was updated successfully, but these errors were encountered:
727e8ae
i added method:
puts MyHTML::Parser.new(origin).to_html
Sorry, something went wrong.
Thank you very much. The MyHTML is now perfect.
No branches or pull requests
The original HTML content is
But, I can't get it to print out the DOCTYPE after parsing:
Is there a way to put out the full HTML with a doctype?
The text was updated successfully, but these errors were encountered: