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

Commit b200d23

Browse files
committed
Fix: Mark activity_info as safe
1 parent ff72c55 commit b200d23

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.isInstructor = {{ is_instructor }};
244244
eBookConfig.username = '{{ user_id}}';
245245
eBookConfig.readings = {{ readings}};
246-
eBookConfig.activities = {{ activity_info }}
246+
eBookConfig.activities = {{ activity_info|safe }}
247247
eBookConfig.downloadsEnabled = {{downloads_enabled}};
248248
eBookConfig.allow_pairs = {{allow_pairs}}
249249
eBookConfig.enableCompareMe = {{enable_compare_me}};

0 commit comments

Comments
 (0)