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

            Bug ID: 62264
           Summary: Images with empty <figcaption> shouldn't output
                    caption to wikitext
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: serializer
          Assignee: gwi...@wikimedia.org
          Reporter: mor...@gmail.com
                CC: jforres...@wikimedia.org, ssas...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Right now, VE doesn't remove <figcaption> tags even if they are empty, to make
it easy for users to go back and forth on types and filling out/removing
captions.

However, that seems to result with a redundant pipe in the wikitext on save for
images that have and empty caption. So, when the <figcaption> tag is empty, the
wikitext still results with a redundant pipe, like:

[[File:image.jpg|left|500x|]]

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