https://bugzilla.wikimedia.org/show_bug.cgi?id=65645

            Bug ID: 65645
           Summary: VisualEditor:  Span tags for Language tool only mark
                    part of the page
           Product: VisualEditor
           Version: unspecified
          Hardware: All
               URL: https://office.wikimedia.org/w/index.php?diff=112247&o
                    ldid=112246
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Intention:
Mark almost an entire page with language (en) and direction (LTR).

Steps to Reproduce:
1.  Open the page and select almost all of the content.

2.  Insert > Language

3.  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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to