diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-05-19 09:41:23 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-05-19 09:41:23 +0200 |
| commit | 34577a2a0bd594a10106eec13c2328c70b1867ee (patch) | |
| tree | 818b3cfab2e4c309ff19a3a7f3ac72d9c9d6bde9 /app/controllers/course/wiki.php | |
| parent | 6b2ec2a25459ee69465fa8dff052353e1fce2bc3 (diff) | |
strictly separate wysiwyg and display content, fixes #5604, fixes #5608issue-4710
Closes #5604 and #5608
Merge request studip/studip!4232
Diffstat (limited to 'app/controllers/course/wiki.php')
| -rw-r--r-- | app/controllers/course/wiki.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/course/wiki.php b/app/controllers/course/wiki.php index fb4431f..83d3f3f 100644 --- a/app/controllers/course/wiki.php +++ b/app/controllers/course/wiki.php @@ -492,6 +492,7 @@ class Course_WikiController extends AuthenticatedController 'editing' => (bool) $online_user->editing, 'enable-autosave' => $user->getConfiguration()->getValue('WIKI_ENABLE_AUTOSAVE'), 'page-content' => $page->content, + 'page-html' => wikiReady($page->content, true, $page->range_id, $page->id), 'page-id' => (int) $page->id, 'save-url' => $this->saveURL($page), 'users' => $page->getOnlineUsers(), |
