Hello Liu,

On Monday, July 4, 2011 10:06:29 AM UTC-7, Liu Lin wrote:

If I understand your post correctly you are entering in something like...

> Action: check WSMB
> Reason: customer check this then got error
> Result: finish, result is good, in spec
>
...in a field of your form.  Upon save you process this field with markdown 
and you want to store something like...

<p>Action: check WSMB</p>
<p>Reason: customer check this then got error</p>
<p>Result: finish, result is good, in spec</p>
 
I'm no markdown expert but I would say this is a problem of your 
understanding of how markdown turns it's markup and into html not a problem 
with Django or the markdown package.

To achieve the results you want I think you would need to enter something 
like...

Action: check WSMB

Reason: customer check this then got error

Result: finish, result is good, in spec

You need a blank line between each line.

Alternately you could preprocess the input and add the extra lines yourself 
before processing with markdown..

Toodle-looooooooooooooo...............
creecode

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Tjkni_VHXCUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to