[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3217: Markdown produces wrong HTML


http://gambaswiki.org/bugtracker/edit?object=BUG.3217&from=L21haW4-

Comment #8 by Dan GRANROTH:

Okej, so I managed to get the version 3.22.99 from Suse and tested.

I still think its an error to inlclude row break chars (\n) into html but I can strip them out myself if needed.
See the the result from my small test in attachments.

The first one shows the text and html view, looks godd but...
As you can see if, there is only one line break but it does not reflect was i rendered in htmlview. I think that a <br> tag make more sense (why else would one do one row break :-) )
For two row breaks in a row it should be a new paragraph. The way its currently done is by placing <p></p> at the end of the paragraph. The proper way, in my opinion would be to surround the paragraph, i.e <p>Lorem ipsum</p>

----------------------------------------------------------------------------

Attachment: Screenshot_20260930_162249.png

Attachment: Screenshot_20260930_162448.png



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

References:
[Gambas-bugtracker] Bug #3217: Markdown produces wrong HTML<bugtracker@xxxxxxxxxxxxxx>