Skip to content

Nokogiri adds extra meta http-equiv="Content-Type" to xhtml? #3302

Discussion options

You must be logged in to vote

@jrochkind This behavior is from libxml2, originally added in GNOME/libxml2@d5c2f92d (in 2002!).

As far as I can tell, this is here because of the Character Encoding section of the XHTML1 spec, which to my reading is a bit ambiguous.

There's no way to turn this off, unfortunately.

Can I ask why this is an issue for you? I'd love to more deeply understand what you're trying to do.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jrochkind
Comment options

@flavorjones
Comment options

Answer selected by jrochkind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants