diff --git a/ts/lib/wrap.ts b/ts/lib/wrap.ts index 7f97c7c1b..18cc0916a 100644 --- a/ts/lib/wrap.ts +++ b/ts/lib/wrap.ts @@ -38,7 +38,12 @@ export function wrapInternal( document.execCommand("inserthtml", false, new_); } - if (!span.innerHTML) { + if ( + !span.innerHTML && + /* ugly solution: treat differently than other wraps */ !front.includes( + "