Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 91db269

Browse files
committed
make readings safe
1 parent 62f0e39 commit 91db269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
eBookConfig.email = '{{ user_email }}';
244244
eBookConfig.isInstructor = {{ is_instructor }};
245245
eBookConfig.username = '{{ user_id}}';
246-
eBookConfig.readings = {{ readings}};
246+
eBookConfig.readings = {{ readings|safe}};
247247
eBookConfig.activities = {{ activity_info|safe }}
248248
eBookConfig.downloadsEnabled = {{downloads_enabled}};
249249
eBookConfig.allow_pairs = {{allow_pairs}}

0 commit comments

Comments
 (0)