add explicit encoding to all pages
This commit is contained in:
parent
b002283947
commit
f97d2e2a03
2 changed files with 10 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
<html encoding="utf-8"
|
||||||
xmlns:py="http://genshi.edgewall.org/" py:strip="">
|
xmlns="http://www.w3.org/1999/xhtml"
|
||||||
|
xmlns:py="http://genshi.edgewall.org/" py:strip="">
|
||||||
|
|
||||||
<py:match path="head" once="true">
|
<py:match path="head" once="true">
|
||||||
<head py:attrs="select('@*')">
|
<head py:attrs="select('@*')">
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
<html encoding="utf-8"
|
||||||
|
xmlns="http://www.w3.org/1999/xhtml"
|
||||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
xmlns:py="http://genshi.edgewall.org/">
|
xmlns:py="http://genshi.edgewall.org/">
|
||||||
<xi:include href="../layout.html" />
|
<xi:include href="../layout.html" />
|
||||||
|
|
||||||
<?python
|
<?python
|
||||||
title = "Brainstorming Online"
|
title = "Brainstorming Online"
|
||||||
content01 = """
|
content01 = unicode("""
|
||||||
dieser moeglichst mehrzeilige Text sollte idealerweise spaeter automatisch HTML-escaped werden.
|
dieser mehrzeilige Text ist HTML-escaped und kann Umlaute enthalten.
|
||||||
Aktuell klappen auch Umlaute hier drin noch nicht.
|
Falls er <Umlaute> enthält, dann muss die Datei utf8-codiert sein und der Text
|
||||||
"""
|
muss in unicode verwandelt werden (unicode(foo)).
|
||||||
|
""")
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue