mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
Fix for nested comments <!--<!-- comment -->--> with BS3.
This commit is contained in:
@@ -682,7 +682,7 @@ class Tag(PageElement):
|
||||
return self.__str__(encoding)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.__str__(None)
|
||||
return str(self).decode(DEFAULT_OUTPUT_ENCODING)
|
||||
|
||||
BARE_AMPERSAND_OR_BRACKET = re.compile("([<>]|"
|
||||
+ "&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;)"
|
||||
|
||||
Reference in New Issue
Block a user