Files @ c8218bb9d0ea
Branch filter:

Location: symposion_app/vendor/symposion/text_parser.py

James Polley
Correct variable name to reflect what it's naming

IT's not the container name, it's the image name. Fix the name to be
less confusing.
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