Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

issue regarding the use of markdown / html syntax in checkboxes #1698

Open espenhalsen opened 8 months ago

espenhalsen commented 8 months ago

Description of the bug

When using Markdown or HTML syntax in checkbox text, it displays as plain text instead of converting to links or formatted text.

This issue occurs with Altinn.App.Api and Altinn.App.Core versions 7.15.1, and Swashbuckle.AspNetCore version 6.5.0.

repo: https://altinn.studio/repos/digdir/godkjenn-bruksvilkaar

Steps To Reproduce

"<a href" / "[test](test.no)" = plain text

Additional Information

bilde bilde

Febakke commented 8 months ago

We should concider not supporting this feature. It will give us a less accessible solution. MDN Web Docs

It might also be breaking 3.2.2 on Input