summaryrefslogtreecommitdiff
path: root/postgresqleu/util/markup.py
AgeCommit message (Collapse)Author
2023-10-16Add wrapper class to render linebreaks in backend listsMagnus Hagander
By wrapping a string in this class, \n will be turned into <br> in the *list*. This is normally not wanted as it can mess with formatting which is why we don't do it by default, but this allows an override of the default behaviour.
2022-06-25Remove dependency on django_markwhat and showdownMagnus Hagander
This simplifies deployments since django_markwhat has a tendency to create conflicting requirements that makes upgrades harder. Showdown doesn't have that problem, but this way we have a single defined markdown process instead of having two subtly different ones. Most of the code behind this adapted from the pgweb project that went through this some months ago. Fixes #72