use yaml.safe_load in revealjs build script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-03-23 20:41:46 +00:00
parent 98ecb8196d
commit 4763ef91a7
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -48,7 +48,7 @@ for idx, file in enumerate(files):
parts = f.read().split('---\n') parts = f.read().split('---\n')
if idx == 0: if idx == 0:
config = {**config, **yaml.load(parts[0])} config = {**config, **yaml.safe_load(parts[0])}
parts = parts[1:] parts = parts[1:]
section_content = '<section>' section_content = '<section>'