~fabrixxm/confy#19: 
Markdown formatted links show up verbatim in the UI (unclickable links)

Hi,

markdown like text, e.g.

some text

will currently not get rendered "correctly" and links are not clickable.

for an example you can look at the If you look at Debconf 22 -> 2022-07-19 ->  "Investigating a tier system for Release Architectures"

Or look at the attached screenshot.

I will provide a re.sub() patch shortly; An alternative would probably be using python3-markdown to render markdown formatted description texts to HTML, but not sure how you feel about adding a dependency and how widespread it is to have markdown in event descriptions.

-- Cheers,

Evangelos PGP: B938 6554 B7DD 266B CB8E 29A9 90F0 C9B1 8A6B 4A19

Status
RESOLVED FIXED
Submitter
~devrtz
Assigned to
No-one
Submitted
1 year, 2 months ago
Updated
1 year, 1 month ago
Labels
No labels applied.

~fabrixxm 1 year, 1 month ago

The patch 34078 has been applied.

As we don't really know if the text is markdown, there could be issues where the text isn't a markdown link and should be displayed verbatim.

But we cannot read minds yet, so for now it's ok.

Thank you.

Il giorno mar 19 lug 2022 alle 14:34:00 +00:00:00, ~devrtz outgoing@sr.ht ha scritto:

Hi,

markdown like text, e.g.

some text

will currently not get rendered "correctly" and links are not clickable.

for an example you can look at the If you look at Debconf 22 -> 2022-07-19 -> "Investigating a tier system for Release Architectures"

Or look at the attached screenshot.

I will provide a re.sub() patch shortly; An alternative would probably be using python3-markdown to render markdown formatted description texts to HTML, but not sure how you feel about adding a dependency and how widespread it is to have markdown in event descriptions.

-- Cheers,

Evangelos PGP: B938 6554 B7DD 266B CB8E 29A9 90F0 C9B1 8A6B 4A19

-- View on the web: https://todo.sr.ht/~fabrixxm/confy/19

~fabrixxm referenced this from #19 1 year, 1 month ago

~fabrixxm REPORTED CLOSED 1 year, 1 month ago

~fabrixxm CLOSED REPORTED 1 year, 1 month ago

~fabrixxm REPORTED FIXED 1 year, 1 month ago

Register here or Log in to comment, or comment via email.