[wp-trac] [WordPress Trac] #21848: A single space in the image caption breaks alignment
WordPress Trac
noreply at wordpress.org
Tue Apr 7 21:55:54 UTC 2015
#21848: A single space in the image caption breaks alignment
------------------------------------+-----------------------------
Reporter: luffer | Owner: wonderboymusic
Type: defect (bug) | Status: reviewing
Priority: low | Milestone: 4.2
Component: Media | Version: 3.4.2
Severity: trivial | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by boonebgorges):
Replying to [comment:2 ericlewis]:
> @luffer thanks for the bug report! I can reproduce, but this is trivial.
>
> Maybe we should be `trim()`ing captions on change in the media modal?
Are there use cases where folks want untrimmed captions?
I think it's probably safe to `trim()`. See [attachment:21848.2.diff].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21848#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list