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 editing text in TinyMCE, it will occasionally insert a instead of space (for instance if the user pressed space twice—causing an to be inserted for the second space—and then deleted the space space). Since an is legitimate when multiple spaces are indeed required, which we do not seek to judge here, we only look for an flanked by non-whitespace on both sides and remove those.
s/(\S) (\S)/\1 \2/ig
This applies to the TinyMce3Field and TinyMce4Field widgets.
The text was updated successfully, but these errors were encountered:
When editing text in TinyMCE, it will occasionally insert a
instead of space (for instance if the user pressed space twice—causing an
to be inserted for the second space—and then deleted the space space). Since an
is legitimate when multiple spaces are indeed required, which we do not seek to judge here, we only look for an
flanked by non-whitespace on both sides and remove those.s/(\S) (\S)/\1 \2/ig
This applies to the
TinyMce3Field
andTinyMce4Field
widgets.The text was updated successfully, but these errors were encountered: