You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using browser automation (note_create_draft), nested markdown patterns like **~~text~~** do not render correctly. The bold markers remain as literal text instead of being converted to <strong> tags.
Current Behavior
Input: **~~text~~**
Result: **<s>text</s>** (literal ** text around strikethrough)
Description
When using browser automation (
note_create_draft), nested markdown patterns like**~~text~~**do not render correctly. The bold markers remain as literal text instead of being converted to<strong>tags.Current Behavior
Input:
**~~text~~**Result:
**<s>text</s>**(literal**text around strikethrough)Expected Behavior
Input:
**~~text~~**Result:
<strong><s>text</s></strong>Root Cause
The
_type_with_strikethrough()function intyping_helpers.pysplits text by strikethrough pattern:This causes:
**typed as normal text (not converted by ProseMirror)~~text~~+ SPACE triggers strikethrough conversion**typed as normal textWorkarounds
Technical Notes
Related
local markdown_to_htmlcorrectly handles nested patterns