Page MenuHomePhabricator

VisualEditor: Please strip trailing spaces and returns from media or image captions
Open, LowestPublic

Description

The solution for this may be related to Bug 61049:

If you add a caption to an image, and you press return in the text area box at the end (perhaps several times), then the caption includes those pointless blank lines, which makes for ugly wikitext when the page is saved.

See https://en.wikipedia.org/w/index.php?title=Sugar_candy&diff=613063549&oldid=611921250


Version: unspecified
Severity: enhancement

Details

Reference
bz66736

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:19 AM
bzimport set Reference to bz66736.

The same is true for the main document, but I'd rather issue warnings than do automatic document modification (cf. typing wikitext into VE)

I got bit by this bug again: https://ca.wikipedia.org/w/index.php?title=Cloïssa_gegant&diff=prev&oldid=17846863

Ed, does this really need a general solution? I'd be happy to limit it to just text that's entered into a dialog.

Deskana lowered the priority of this task from Normal to Lowest.Apr 12 2018, 4:22 PM