use yaml.safe_load in revealjs build script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
98ecb8196d
commit
4763ef91a7
|
@ -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>'
|
||||||
|
|
Reference in a new issue