This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author karlcow
Recipients ezio.melotti, karlcow, nowasky.jr, vstinner
Date 2021-01-03.08:49:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609663741.05.0.47042034978.issue41748@roundup.psfhosted.org>
In-reply-to
Content
Ah!

This is fixing it

diff --git a/Lib/html/parser.py b/Lib/html/parser.py
index 6083077981..ffff790666 100644
--- a/Lib/html/parser.py
+++ b/Lib/html/parser.py
@@ -44,7 +44,7 @@
       (?:\s*=+\s*                    # value indicator
         (?:'[^']*'                   # LITA-enclosed value
           |"[^"]*"                   # LIT-enclosed value
-          |(?!['"])[^>\s]*           # bare value
+          |(?!['"])[^>]*           # bare value
          )
          (?:\s*,)*                   # possibly followed by a comma
        )?(?:\s|/(?!>))*




Ran 48 tests in 0.175s

OK

== Tests result: SUCCESS ==
History
Date User Action Args
2021-01-03 08:49:01karlcowsetrecipients: + karlcow, vstinner, ezio.melotti, nowasky.jr
2021-01-03 08:49:01karlcowsetmessageid: <1609663741.05.0.47042034978.issue41748@roundup.psfhosted.org>
2021-01-03 08:49:01karlcowlinkissue41748 messages
2021-01-03 08:49:01karlcowcreate