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

       Web browser: ---
            Bug ID: 42839
           Summary: VisualEditor: Links are allowed to be created with
                    whitespace only text.
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: User Interface
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Select some whitespace and open the link inspector and create the link.
The SurfaceFragment.trimRange method is not trimming the space if the range
only contains space.

The correct behavior should be to trim the space then insert the location text
into the document.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to