First time here? Check out the FAQ!
1

Using international characters and html5lib
 

I just installed askbot, when posting a question with international characters I always got MSG: pagesize.py:process_exception:43 [...] File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 110...

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Javier Wilson's avatar
31
Javier Wilson
asked 13 years ago
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago

Comments

1

Problem gets solved using patch posted here http://code.google.com/p/html5lib/issues/detail?id=184

Javier Wilson's avatar Javier Wilson (13 years ago)

Please add it as a answer and mark as correct :-)

Fitoria's avatar Fitoria (13 years ago)

Tagged as "fixed" but so far only in the github repository, will be in the release 0.7.40.

Evgeny's avatar Evgeny (13 years ago)

Tagged as "fixed" but so far only in the github repository, will be in the release 0.7.40.

Evgeny's avatar Evgeny (13 years ago)
see more comments

3 Answers

1

edited: problem solved in the repository thanks to Radim Řehůřek.

Now askbot works with html5lib version 0.95 too.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago, updated 13 years ago
link

Comments

see more comments
1

Problem gets solved using patch posted here http://code.google.com/p/html5lib/issues/detail?id=184

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Javier Wilson's avatar
31
Javier Wilson
answered 13 years ago
link

Comments

imo it's better to just use a stable version of the library, at least for the official recipe, ofc the hackers can do whatever they want:)

Evgeny's avatar Evgeny (13 years ago)

imo it's better to just use a stable version of the library, at least for the official recipe, ofc the hackers can do whatever they want:)

Evgeny's avatar Evgeny (13 years ago)
see more comments
0

I have same issue too,I clear html5parser.py line 110 two parameter self,**kwargs ,It's working OK,but I don't know consequence of influence。

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
yangshuo's avatar
35
yangshuo
answered 13 years ago
link

Comments

see more comments