Files @ 5b93b39f67e0
Branch filter:

Location: symposion_app/vendor/symposion/text_parser.py

Joel Addison
Improve slot editing

Fix placement of form to allow submit button to work again.
Display information about slot on the edit popup.
1
2
3
4
5
6
7
8
9
import bleach

tags = bleach.sanitizer.ALLOWED_TAGS[:]
tags.extend(['p', 'pre'])


def parse(text):
    scrubbed_text = bleach.clean(text, tags=tags)
    return scrubbed_text