mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Removed utils.text.fix_microsoft_characters, which didn't actually do anything. Refs #467.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from django.core import validators
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.utils.html import escape
|
||||
from django.utils.text import fix_microsoft_characters
|
||||
|
||||
FORM_FIELD_ID_PREFIX = 'id_'
|
||||
|
||||
@@ -242,8 +241,6 @@ class TextField(FormField):
|
||||
self.field_name, self.length, escape(data), maxlength)
|
||||
|
||||
def html2python(data):
|
||||
if data:
|
||||
return fix_microsoft_characters(data)
|
||||
return data
|
||||
html2python = staticmethod(html2python)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user