google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Placeholders are escaped in trunk version of cms #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get old code
2. Diplait
3. You'll get escaped html

What is the expected output? What do you see instead?
In my oppinion content would be safe by default, after all you're editing
the content form an admin page.

Original issue reported on code.google.com by antoni.aloy@gmail.com on 26 Feb 2009 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by antoni.aloy@gmail.com on 2 Mar 2009 at 6:56

GoogleCodeExporter commented 9 years ago
This is an annoying drawback with this CMS at the moment - if you use a WYSIWYG
editor in the admin interface you end up with HTML code in your content 
snippets, but
the get_content and show_content methods do not render this properly but instead
escape the HTML.

Original comment by d.scott...@gmail.com on 20 Apr 2009 at 7:32

GoogleCodeExporter commented 9 years ago
The workaround is to use the autoescape tag, it's quite annoying  if you're 
used to
work without worrying about the html code that comes form the cms, but it does 
the job.

Original comment by antoni.aloy@gmail.com on 20 Apr 2009 at 10:49

GoogleCodeExporter commented 9 years ago
Yes I got the autoescape tag to work - it would be a good idea to put something 
about
this in the docs, it will save a lot of grief for some people.

Original comment by d.scott...@gmail.com on 20 Apr 2009 at 11:29

GoogleCodeExporter commented 9 years ago
Would it be better to just make that work out of the box?

I could do it but then it's quite difficult to got back.

Original comment by batiste....@gmail.com on 13 Sep 2010 at 9:39