hammer-editor/server
Adam Brown 4df8802d43
Render strikethrough on the web (#864)
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.
2026-08-07 08:18:23 -07:00
..
src Render strikethrough on the web (#864) 2026-08-07 08:18:23 -07:00
build.gradle.kts Trust proxy forwarding so a proxied server sees real client addresses (#855) 2026-08-05 21:20:40 -07:00