<!DOCTYPE html> <html encoding="utf-8" xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/"> <xi:include href="../layout.html" /> <?python #text can be creole-encoded, see http://www.wikicreole.org/imageServlet?page=CheatSheet%2Fcreole_cheat_sheet.png&width=340 title = "Brainstorming Online" content01 = unicode(""" dieser mehrzeilige Text ist HTML-escaped und kann Umlaute enthalten. Falls er <Umlaute> **enthaelt**, dann muss die Datei utf8-codiert sein und der Text muss in unicode verwandelt werden (unicode(foo)). """) from creoleparser import text2html ?> <head> <title>${title}</title> </head> <body> <h1>${title}</h1> <div class="post"> ${Markup(text2html(content01))} </div> ${poll_new_small()} </body> </html>