Nutomic / ibis

A federated online encyclopedia
https://ibis.wiki/
GNU Affero General Public License v3.0
79 stars 6 forks source link

Ibis doesn't comply with CommonMark HTML rendering in markdown #75

Open K4LCIFER opened 5 days ago

K4LCIFER commented 5 days ago

The CommonMark spec (v0.31.2) specifies that raw HTML be rendered as HTML without escaping; however, Ibis is not treating it as such. For example: image https://open.ibis.wiki/article/Test_Article@open.ibis.wiki/diff/d1824834-a1f8-5310-ea2b-5ba157be15be

This may be an issue for upstream.

Nutomic commented 1 day ago

There is an optional plugin for raw html support but it is insecure. It would also be more difficult for other users to edit, and Im not sure if its really necessary.

K4LCIFER commented 3 hours ago

Im not sure if its really necessary.

It's only necessary if you wish to comply with CommonMark. If you don't wish to support this feature, then Ibis simply doesn't comply with CommonMark — it would instead be a subset.