Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit80c9044

Browse files
committed
Fixhtml5lib#67: BufferedStream returns unicode string.
This is a simple case of using a unicode string to join where weshould be using a bytes string.
1 parentc8feb51 commit80c9044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/inputstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def _readFromBuffer(self, bytes):
114114
ifremainingBytes:
115115
rv.append(self._readStream(remainingBytes))
116116

117-
return"".join(rv)
117+
returnb"".join(rv)
118118

119119

120120
defHTMLInputStream(source,encoding=None,parseMeta=True,chardet=True):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp