Thanks Massimo. Happy New Year's Eve :) I'm not sure what considerations went into this, that a single new line is not given a "br" at the end. (it can still be interpreted as a continuation of the same paragraph, regardless)
I hope you will consider adding this feature (each new line gets a "br" in HTML) to MARKMIN, I cite examples. If I write a poem, song lyrics or a general line of verbatim, I would like the output to have newlines just like the user had input into the form/textarea. And of course, still keep two lines = a paragraph. Have suggested to use "br" for newlines in blockquote (http:// code.google.com/p/web2py/issues/detail?id=588) Thank you! On Dec 31, 12:22 am, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > Two new lines in markmin translate into an end of paragraph in html, a > single new line is interpreted as a continuation of the same > paragraph. > > On Dec 30, 1:51 am, lyn2py <lyn...@gmail.com> wrote: > > > > > > > > > Does MARKMIN have issues with processing newlines? > > Because I can't use formatting here, everything looks like the same > > text, but in MARKMIN the formatting is ok, only the newlines is not > > ok. > > > (1) I noticed that newlines don't convert to <br> in MARKMIN, which is > > strange. > > > Example: > > I write this > > in two lines > > > MARKMIN processes it as: I write thisin two lines > > > But 2 newlines automatically converts to a paragraph (which is > > correct). > > > (2) Also, when using verbatim `` > > > Example: > > ``I write this`` > > > ``in two paragraphs`` > > > MARKMIN: I write thisin two paragraphs > > > (3) Using a mix of verbatim/italics/bold > > > Example: > > ``an edit as usual`` > > > ``another`` > > > ''one or the other'' > > **could be bolded** > > > MARKMIN: > > an edit as usualanother > > > one or the other could be bolded > > > Notice the inconsistency in processing newlines (and spaces). > > Is this correct behavior of MARKMIN?