1
killpanda 2012-08-28 18:45:45 +08:00
记得是在模板那块这么写:
{{ xxx |safe}} |
2
killpanda 2012-08-28 18:48:06 +08:00
markdown支持也超好加,看看这个文章:
http://www.freewisdom.org/projects/python-markdown/Django |
3
pyKun 2012-08-28 18:48:27 +08:00
html的escaping 默认是开的,在开的情况下,想关掉某个地方用safe,全文都不想开改了autoescape就可以了
|