File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -953,8 +953,8 @@ class InBodyPhase(Phase):
953
953
def __init__ (self , parser , tree ):
954
954
Phase .__init__ (self , parser , tree )
955
955
956
- # Keep a ref to this for special handling of whitespace in <pre>
957
- self .processSpaceCharactersNonPre = self .processSpaceCharacters
956
+ # Set this to the default handler
957
+ self .processSpaceCharacters = self .processSpaceCharactersNonPre
958
958
959
959
self .startTagHandler = utils .MethodDispatcher ([
960
960
("html" , self .startTagHtml ),
@@ -1087,7 +1087,7 @@ def processCharacters(self, token):
1087
1087
for char in token ["data" ]])):
1088
1088
self .parser .framesetOK = False
1089
1089
1090
- def processSpaceCharacters (self , token ):
1090
+ def processSpaceCharactersNonPre (self , token ):
1091
1091
self .tree .reconstructActiveFormattingElements ()
1092
1092
self .tree .insertText (token ["data" ])
1093
1093
You can’t perform that action at this time.
0 commit comments