Changeset 2738
- Timestamp:
- 04/23/06 17:23:46 (3 years ago)
- Files:
-
- django/branches/magic-removal/django/utils/html.py (modified) (1 diff)
- django/branches/magic-removal/docs/templates.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/magic-removal/django/utils/html.py
r2060 r2738 26 26 if not isinstance(html, basestring): 27 27 html = str(html) 28 return html.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"') 28 return html.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"').replace("'", ''') 29 29 30 30 def linebreaks(value): django/branches/magic-removal/docs/templates.txt
r2700 r2738 845 845 * ``<`` to ``"<"`` 846 846 * ``>`` to ``">"`` 847 * ``'"'`` (double quote) to ``"""`` 847 * ``'"'`` (double quote) to ``'"'`` 848 * ``"'"`` (single quote) to ``'''`` 848 849 849 850 filesizeformat
