Buran icon indicating copy to clipboard operation
Buran copied to clipboard

List rendering bug in Buran 1.12

Open acidus99 opened this issue 2 years ago • 3 comments

hello,

I noticed a render bug in Buran. Consider this Gemtext:

* hello I'm a list item!

*I'm a line* that starts with italics!

Buran renders both of that as list items, but the Gemtext spec says list lines start with * (* and a space) not just *`.

Here is a test page:

gemini://gemi.dev/tests/bug1.gmi

acidus99 avatar Mar 18 '23 14:03 acidus99

Whyyy is the gemtext spec so inconsistent with spacing rules? Shouldn't be too hard to fix though.

Corewala avatar Apr 04 '23 16:04 Corewala

yeah, its crazy. I documented some of the weirdness like this here:

gemini://gemi.dev/weird.gmi

I suspect list lines require a space (e.g. * foo) so that lines that maybe have markdown like *this has emphasis* and this doesn't won't be rendered as a list.

acidus99 avatar Apr 04 '23 17:04 acidus99

I guess? Still weird considering that gemini doesn't natively support inline emphasis.

Corewala avatar Apr 04 '23 19:04 Corewala