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

       Web browser: ---
            Bug ID: 60310
           Summary: VisualEditor:The gallery inspector adds a newline
                    while opening up a gallery
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: rm...@wikimedia.org
          Reporter: ryasm...@wikimedia.org
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, rm...@wikimedia.org,
                    ryasm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 14353
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14353&action=edit
Screenshot

Steps to reproduce:

1.Open a page with VE which has for example the following gallery code:
<gallery>
File:Joo Chiat Place.jpg|Item 1
File:Joo Chiat Place.jpg|a link to [[Help:Contents]]
File:Joo Chiat Place.jpg
File:Joo Chiat Place.jpg|alt=An example image. It has flowers
File:Joo Chiat Place.jpg| ''italic caption''
</gallery>

2.Click on the gallery and open it with the new gallery inspector

Observed Result:
There is an extra newline inserted at the beginning of gallery code inside the
inspector.


See the screenshot attached.

Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
Page:https://test2.wikipedia.org/wiki/Thedomtest?veaction=edit

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

Reply via email to