FS#67196 - Using markdown to create list items in comments causes other formatting to break
Attached to Project:
AUR web interface
Opened by Keith Patton (kaipee) - Saturday, 04 July 2020, 23:21 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 05 July 2020, 18:05 GMT
Opened by Keith Patton (kaipee) - Saturday, 04 July 2020, 23:21 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 05 July 2020, 18:05 GMT
|
Details
I was adding a comment to
https://aur.archlinux.org/packages/shutter
when I noticed that all formatting stopped working on the
comments table immediately after I inserted 2 list items
using a single wildcard for markdown formatting.
|
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 05 July 2020, 18:05 GMT
Reason for closing: Not a bug
Additional comments about closing: The nuances of four-space indentation caused confusion, but it seems nothing is actually wrong here. See comments.
Sunday, 05 July 2020, 18:05 GMT
Reason for closing: Not a bug
Additional comments about closing: The nuances of four-space indentation caused confusion, but it seems nothing is actually wrong here. See comments.
Looking at my comment on that page, it looks as though the closing </ul> actually encompasses what should be a code block for the example I posted [yay -S $(pacman -Qqo '/usr/lib/perl5/5.30')].
The code formatting is in theory applied due to four-space indents, immediately after the "*" list bullets. But this four-space indent is removed, wrapped in a <p>, and contained within the second bullet point.
I *think* this might be the rules of markdown, though (what does an indent mean, anyway?). FWIW, I just always use ``` fenced code.
EDIT: yes, this presumably counts as a nested list.
I have modified my own comment to remove the list items and fix my code block - but none of the other comments are showing code block formatting...
example : https://aur.archlinux.org/packages/shutter/#comment-753041
Still good that you filed a report though, reporting too much is better than reporting too little. I guess this can be closed now or is there anything else we'd like to address?
My own mal-formatting problem probably threw me.
Safe to close, thanks.