feat: sanitize all yaml #28
|
@ -14,7 +14,7 @@ from bs4 import BeautifulSoup
|
||||||
from slugify import slugify
|
from slugify import slugify
|
||||||
from re import compile as re_compile
|
from re import compile as re_compile
|
||||||
from re import sub
|
from re import sub
|
||||||
yamlre = re_compile('[_\?:\'\[\]\{\}\#\&\*\!\|\>\`\"\%]')
|
yamlre = re_compile('[_\'\[\]\{\}\#\&\*\!\|\>\`\"\%]')
|
||||||
|
|
||||||
|
|
||||||
def write_etag(feed_name, feed_data):
|
def write_etag(feed_name, feed_data):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user