mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-28 11:45:19 +01:00
Fix for nested comments <!--<!-- comment -->--> with BS3.
This commit is contained in:
parent
5426725a26
commit
4cbca8dd1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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+;)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue