Skip to content
Browse files

Documented the time-saver in flatpages: title and content are marked …

…as safe


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent bdb0b90 commit 3322521cd6b827f91e776691475e5c2dce4078dd @malcolmt malcolmt committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/flatpages.txt
7 docs/flatpages.txt
@@ -113,3 +113,10 @@ Here's a sample ``flatpages/default.html`` template::
{{ flatpage.content }}
+Since you're already entering raw HTML into the admin page for a flatpage,
+both ``flatpage.title`` and ``flatpage.content`` are marked as **not**
+requiring `automatic HTML escaping`_ in the template.
+.. _automatic HTML escaping: ../templates/#automatic-html-escaping

0 comments on commit 3322521

Please sign in to comment.
Something went wrong with that request. Please try again.