]> BookStack Code Mirror - bookstack/commit
Fixed issue where markdown drafts showed as HTML
authorDan Brown <redacted>
Sun, 14 Nov 2021 12:17:22 +0000 (12:17 +0000)
committerDan Brown <redacted>
Sun, 14 Nov 2021 12:17:22 +0000 (12:17 +0000)
commit8e71cd9bacfc12c50d1f9ed9ca379b85beece940
treeee704366e8b42bcc7850dee8ae8ca27f2eab7868
parent89f7f8e2599d6155ebe7ee725fe5dc13e88467ea
Fixed issue where markdown drafts showed as HTML

Markdown content was not being stored, only the sent
HTML representation, causing the draft to show as HTML upon next edit.
Added test to cover.

Fixes #3054
app/Entities/Repos/PageRepo.php
tests/Entity/PageDraftTest.php