Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable markdown for Incident Description #867

Closed
abandoned-prototype opened this issue May 4, 2021 · 0 comments · Fixed by #877
Closed

Enable markdown for Incident Description #867

abandoned-prototype opened this issue May 4, 2021 · 0 comments · Fixed by #877

Comments

@abandoned-prototype
Copy link
Collaborator

Currently the incident description just throws the entered sanitized text between a set of <p></p>. For some flexibility it would be nice to maybe allow markdown for that field, so some formatting can be applied. Alternatively we could add different sections to the table, but I think there is a chance that people from different cities want different fields displayed, so markdown would allow us to relatively easily set that up in an import script, or add some structure to a longer description. We would have to make sure to not allow injection of arbitrary html scripts however.

A different, somewhat lower tech solution could be to just allow a certain subset of features (maybe just headers), or to make sure that line breaks in the provided text are shown as line breaks in the result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant