Thank you Massimo. Happy New Year's Eve :) After fiddling with markmin for hours and reading http://web2py.com/examples/static/markmin.html a few times, I made a suggestion I hope you will consider including: http://code.google.com/p/web2py/issues/detail?id=588
I don't know where I might be able to find the code in gluon to have a "single new line" be converted to "<br>". As I would also like to suggest that. The reason for this is because if the user didn't want new lines, he probably wouldn't create a new line. Example: I wouldn't type like that Usually, I would keep typing in a single sentence. However, I may put two sentences in a paragraph, but not joined together. 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?