Markdown parsing inconcistent #63

Closed
opened 2021-11-12 20:13:00 +01:00 by are0h · 2 comments
are0h commented 2021-11-12 20:13:00 +01:00 (Migrated from koodu.ubiqueros.com)

Wrote the following markdown:

lorem ipsum *italicised via asterisk* _italicised via underline character_

Which rendered as the following HTML:

<div class="page"><p><p>lorem ipsum italicised via asterisk italicised via underline character</p></p><div>

What's odd is I saw it give * italicised text the <i> tag once, but never again.

Wrote the following markdown: ``` lorem ipsum *italicised via asterisk* _italicised via underline character_ ``` Which rendered as the following HTML: ``` <div class="page"><p><p>lorem ipsum italicised via asterisk italicised via underline character</p></p><div> ``` What's odd is I saw it give * italicised text the `<i>` tag once, but never again.
are0h commented 2021-11-13 04:48:23 +01:00 (Migrated from koodu.ubiqueros.com)

Gotcha. It seems like a tag that should be allowed isn't when it's resaved. I'll take a look.

Gotcha. It seems like a tag that should be allowed isn't when it's resaved. I'll take a look.
are0h commented 2021-11-14 22:47:35 +01:00 (Migrated from koodu.ubiqueros.com)

The html sanitizer parameters needed some tweaking as I haven't touched it in a while.

The fix will be pushed to beta when the current milstone is finished

The html sanitizer parameters needed some tweaking as I haven't touched it in a while. The fix will be pushed to beta when the current milstone is finished
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: projects/fipamo#63
No description provided.