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
fix(html-serializer): Remove support for single tilde syntax for strike-through text (#1055)
BREAKING CHANGE: Removed support for the single tilde syntax (e.g., `~text~`) for strike-through formatting. Please update your content to use the double tilde syntax (e.g., `~~text~~`) instead.
'<p>I just love **bold text**.</p><p>I just love __bold text__.</p><p></p><p>Italicized text is the *cat's meow*.</p><p>Italicized text is the _cat's meow_.</p><p></p><p>This text is ***really important***.</p><p>This text is ___really important___.</p><p>This text is __*really important*__.</p><p>This text is **_really important_**.</p><p>This is really ***very*** important text.</p><p></p><p>Strikethrough uses two tildes: ~~scratch this~~</p>',
287
+
'<p>I just love **bold text**.</p><p>I just love __bold text__.</p><p></p><p>Italicized text is the *cat's meow*.</p><p>Italicized text is the _cat's meow_.</p><p></p><p>This text is ***really important***.</p><p>This text is ___really important___.</p><p>This text is __*really important*__.</p><p>This text is **_really important_**.</p><p>This is really ***very*** important text.</p><p></p><p>Strikethrough uses two tildes: ~~scratch this~~</p><p>Strikethrough with a single tilde: ~not scratched~</p>',
"<p>I just love <strong>bold text</strong>.<br>I just love <strong>bold text</strong>.</p><p>Italicized text is the <em>cat's meow</em>.<br>Italicized text is the <em>cat's meow</em>.</p><p>This text is <em><strong>really important</strong></em>.<br>This text is <em><strong>really important</strong></em>.<br>This text is <strong><em>really important</em></strong>.<br>This text is <strong><em>really important</em></strong>.<br>This is really <em><strong>very</strong></em> important text.</p><p>Strikethrough uses two tildes: <del>scratch this</del></p>",
421
+
"<p>I just love <strong>bold text</strong>.<br>I just love <strong>bold text</strong>.</p><p>Italicized text is the <em>cat's meow</em>.<br>Italicized text is the <em>cat's meow</em>.</p><p>This text is <em><strong>really important</strong></em>.<br>This text is <em><strong>really important</strong></em>.<br>This text is <strong><em>really important</em></strong>.<br>This text is <strong><em>really important</em></strong>.<br>This is really <em><strong>very</strong></em> important text.</p><p>Strikethrough uses two tildes: <del>scratch this</del><br>Strikethrough with a single tilde: ~not scratched~</p>",
421
422
)
422
423
})
423
424
@@ -568,7 +569,8 @@ Italicized text is the _cat's meow_.</p><p>This text is ***really important***.
568
569
This text is ___really important___.
569
570
This text is __*really important*__.
570
571
This text is **_really important_**.
571
-
This is really ***very*** important text.</p><p>Strikethrough uses two tildes: ~~scratch this~~</p>`)
572
+
This is really ***very*** important text.</p><p>Strikethrough uses two tildes: ~~scratch this~~
573
+
Strikethrough with a single tilde: ~not scratched~</p>`)
0 commit comments