mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-08-26 01:41:41 +00:00
CommonMark has no strikethrough, so `~~struck~~` reached every server rendered page as literal tildes while bold and italic worked. The editor that writes the content parses GFM, so the two disagreed. MarkdownService now parses GFM, matching the editor. GFM emits strikethrough as `<span class="user-del">`, which the sanitizer would unwrap for having no allowed attributes, so it is rewritten to `<del>` and `del` is allowed through. Bumps RENDER_VERSION so cached story pages regenerate. The review page had the same gap for its own reason: parseInlineMarkdown only branched on `*` and `_`. It now handles `~~` and threads the flag through to both render sites. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||