Web browser: ---
            Bug ID: 60375
           Summary: VisualEditor:  nbsp
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
    Classification: Unclassified
   Mobile Platform: ---

Add a template and remove a non-breaking space ( ) in the same

Steps to Reproduce:
(Order matters!)

1.  Begin with a page that contains the HTML code for a non-breaking space. 
Open in VisualEditor.

2.  On the line that contains the nbsp, add a template (e.g., {{fact}}).  The
template should be added to the same 'word' that contains the nbsp.

3.  Then remove the nbsp (replace with a plain space, or just delete the whole

Actual Results:  
VisualEditor added span text like <span about="g0.42287685585435686"
data-ve-ignore="true"></span> when the nbsp was removed.

Adding a fact template to the end of:

1&nbsp;mg 2&nbsp;mg 3&nbsp;mg 4&nbsp;mg

turns into:

1&nbsp;mg 2&nbsp;mg 3&nbsp;mg 4 mg{{Fact}}<span data-ve-ignore="true"

However, adding the template to "3 mg" and deleting the nbsp from "2 mg" works

1&nbsp;mg 2 mg 3&nbsp;mg{{Fact}} 4&nbsp;mg

Reproducible: Always

and testing at on
23 January 2014 for many more details.

Found in Firefox 26 on Windows 7 with Monobook, confirmed in Safari 6 on Mac OS
10.8.5 with Vector.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to