This website works better with JavaScript.
Home
Help
Sign In
ben
/
mwparserfromhell
mirror of
https://github.com/earwig/mwparserfromhell
Watch
1
Star
1
Fork
0
Code
Releases
24
Activity
Browse Source
wiki_markup attr should be unicode, not bytes
tags/v0.3
Ben Kurtovic
11 years ago
parent
b5ec7f3beb
commit
db86176c08
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mwparserfromhell/parser/tokenizer.c
+ 1
- 1
mwparserfromhell/parser/tokenizer.c
View File
@@ -1697,7 +1697,7 @@ static int Tokenizer_emit_style_tag(Tokenizer* self, const char* tag,
{
PyObject *markup, *kwargs;
markup = Py
Bytes
_FromString(ticks);
markup = Py
Unicode
_FromString(ticks);
if (!markup)
return -1;
kwargs = PyDict_New();
Write
Preview
Loading…
Cancel
Save