What I want is like stack overflow. User can HTML format their text input, and the page should be rendered exactly in the same way,
I use the wmd.js
to stor
I think another approach for this is to use the firstof tag:
Note that the variables included in the firstof tag will not be escaped. This is because template tags do not escape their content. Any HTML or Javascript code contained in the printed variable will be rendered as-is, which could potentially lead to security issues. If you need to escape the variables in the firstof tag, you must do so explicitly
{% firstof variable %}