hmpf / easydmp

MIT License
7 stars 2 forks source link

Comment section does not support HTML #209

Closed frafra closed 3 years ago

frafra commented 3 years ago

The "Comment" section does not support HTML while "Help text" does. Is there any rationale behind that? Otherwise, I would propose to allow HTML (for rich text and links) in all these fields.

hmpf commented 3 years ago

Rationale: the Comment-section has been used very little and we've never gotten any feedback on needs for it :) It's a relic from the prototype, used to support porting a template from that to EasyDMP.

hmpf commented 3 years ago

Strictly speaking, you can store HTML in the field already, it's just that it is escaped when users fill out plans.

frafra commented 3 years ago

No problem with that :) Thanks.

hmpf commented 3 years ago

Extremely easy to fix though, see PR.

One thing that won't ever be supported is users entering HTML when filling out a plan, for security reasons.

vbhavdal commented 3 years ago

Markdown is probably easy to add though.

hmpf commented 3 years ago

Which markdown? :) And how do you prevent inline HTML? Markdown allows inline HTML.