Index: cms/converters.py |
=================================================================== |
--- a/cms/converters.py |
+++ b/cms/converters.py |
@@ -105,17 +105,17 @@ class AttributeParser(HTMLParser.HTMLPar |
def handle_entityref(self, name): |
self._append_text(self.unescape("&%s;" % name)) |
def handle_charref(self, name): |
self._append_text(self.unescape("&#%s;" % name)) |
class Converter: |
- whitelist = set(["a", "em", "strong", "code"]) |
+ whitelist = {"a", "em", "strong", "code", "span"} |
def __init__(self, params, key="pagedata"): |
self._params = params |
self._key = key |
self._attribute_parser = AttributeParser(self.whitelist) |
# Read in any parameters specified at the beginning of the file |
lines = params[key].splitlines(True) |