html5lib/html5lib-python

Fix prescan bug: content attribute, second charset

openandclose opened this issue · 1 comments

#data
<meta http-equiv="Content-Type" content="charsetcharset=iso-8859-2">
#encoding
iso-8859-2

A content attribute parser should discard invalid 'charset' string and search next one.

While html5lib._inputstream.EncodingParser returns: 'None'.