VE Gallery editor adds a description called Undefined when editing very large galleries e.g
Description
Description
Details
Details
Related Objects
Related Objects
Event Timeline
Comment Actions
I think this is due the regex returning Undefined when there is no pipe after the filename. We should normalise that to an empty string, and we should also not render a pipe if there is no caption on save.
Comment Actions
Change 323858 had a related patch set uploaded (by Esanders):
Handle missing pipes in Gallery syntax, and remove them when caption is empty
Comment Actions
Change 323858 merged by jenkins-bot:
Handle missing pipes in Gallery syntax, and remove them when caption is empty