mirror of
https://github.com/python/cpython
synced 2026-10-30 08:11:56 +03:00
"] ]>" and "]] >" no longer end the CDATA section. Make CDATA section parsing context depending. Add private method HTMLParser._set_support_cdata() to change the context. If called with True, "<[CDATA[" starts a CDATA section which ends with "]]>". If called with False, "<[CDATA[" starts a bogus comments which ends with ">". (cherry picked from commit |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| entities.py | ||
| parser.py | ||