compatibility with django 1.4.2, ?theme=none only in debug mode, ability to work with inline html as content (will be parsed as xml)