If you have any trouble with tinymce look at Markdown in
django.contrib.markup, especially with the "safe" extension. Nice
lightweight solution.
On Mon, Dec 21, 2009 at 6:22 PM, Continuation wrote:
> django-tinymce looks like is what I need.
>
> Thanks for pointing me
django-tinymce looks like is what I need.
Thanks for pointing me to that.
On Dec 21, 5:50 pm, "pjrhar...@gmail.com" wrote:
> You've got to decide what you want to allow. If the users are trusted
> you could allow them to input HTML, then you have to make sure its
> marked
You've got to decide what you want to allow. If the users are trusted
you could allow them to input HTML, then you have to make sure its
marked as safe so the HTML is not escaped.[1]
Alternatively you could use a markup language that can be converted to
HTML.[2]
If you just want the newlines,
Umm, I think you would then also invite/enable hackers to upload
unwanted thingies, such as viruses and scripts...
On Dec 21, 8:12 am, Continuation wrote:
> I have a TextField() field that stores user entered text. However the
> formatting is a bit weird, eg. new lines
I have a TextField() field that stores user entered text. However the
formatting is a bit weird, eg. new lines are lost when displaying that
field.
What is the best way to retain that formatting and also enable users
to format their inputs with either HTML tags or some rich text editors?
--
You
5 matches
Mail list logo