Intention:
Mark almost an entire page with language (en) and direction (LTR).
Steps to Reproduce:
- Open the page and select almost all of the content.
- Insert > Language
- Set the language to English and the direction to LTR.
Actual Results:
Only a small fraction of the page was marked with span tags. See https://office.wikimedia.org/w/index.php?diff=112247&oldid=112246
Expected Results:
I wanted this:
<span lang="en" dir="ltr">
Div box
Image
Text
Image
Some text
End of div box
Lots and lots and lots of text
</span>
I got this:
Div box
Image
<span lang="en" dir="ltr">Text</span>
Image
<span lang="en" dir="ltr">Text</span>Some te</span>xt
End of div box
Lots and lots and lots of text
Reproducible: Always
This was exactly repeatable on this page: the last span tag always ended in the middle of the same word.
Version: unspecified
Severity: normal
URL: https://office.wikimedia.org/w/index.php?diff=112247&oldid=112246