Skip to content

Commit

Permalink
Merge pull request #4 from moschlar/develop
Browse files Browse the repository at this point in the history
Probably fix Issue #3
  • Loading branch information
ralphbean committed Jun 18, 2012
2 parents a7b6761 + b6b4acc commit bbc5945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_widget.py
Expand Up @@ -25,7 +25,7 @@ class TestDemoWidgetUnicodery(WidgetTest):
# Initilization args. go here
attrs = {
'id' : 'test_tinymce',
'value': ',
'value': u'ä',
}
params = {}
expected = """<textarea rows="25" cols="79" id="test_tinymce" name="test_tinymce"></textarea>"""
expected = u"""<textarea rows="25" cols="79" id="test_tinymce" name="test_tinymce">ä</textarea>"""
2 changes: 1 addition & 1 deletion tw2/tinymce/widgets.py
Expand Up @@ -27,7 +27,7 @@ class TinyMCEWidget(TextArea):
paste_convert_headers_to_strong = False,
paste_strip_class_attributes = "all",
)
validator = base.MarkupConverter()
validator = base.MarkupConverter(outputEncoding=None)
include_dynamic_js_calls = True

def prepare(self):
Expand Down

0 comments on commit bbc5945

Please sign in to comment.