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

Move exercise description to markdown #1240

Open
3 tasks
rolandgeider opened this issue Jan 27, 2023 · 1 comment
Open
3 tasks

Move exercise description to markdown #1240

rolandgeider opened this issue Jan 27, 2023 · 1 comment
Milestone

Comments

@rolandgeider
Copy link
Member

Since bleach is deprecated and won't be getting security patches much longer, we should remove the library and move the exercise's description to markdown.

TODO:

  • find a python library to render and filter markdown. We still only wanto to allow a very simple formatting: bold, italic, paragraphs and lists ('b', 'i', 'strong', 'em', 'ul', 'ol', 'li', 'p')
  • decide wether to convert the description to html in react/flutter or expose a rendered attribute over the api (this is cached anyway so it doesn't matter much if it's expensive). Also, think about backwards compatibility, what happens to the other consumers of the exercises
  • convert current descriptions from html to markdown

https://bluesock.org/~willkg/blog/dev/bleach_6_0_0_deprecation.html

@rolandgeider
Copy link
Member Author

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

No branches or pull requests

1 participant