From 4763ef91a717208a10f8c628c0b2ca823fe08f00 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 23 Mar 2019 20:41:46 +0000 Subject: [PATCH] use yaml.safe_load in revealjs build script --- revealjs/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revealjs/build.py b/revealjs/build.py index 61c98cb..e79a116 100755 --- a/revealjs/build.py +++ b/revealjs/build.py @@ -48,7 +48,7 @@ for idx, file in enumerate(files): parts = f.read().split('---\n') if idx == 0: - config = {**config, **yaml.load(parts[0])} + config = {**config, **yaml.safe_load(parts[0])} parts = parts[1:] section_content = '
'