Page MenuHomePhabricator

Initial edit summary should strip out quotes
Closed, DuplicatePublic

Description

When editing in source mode, the initial edit summary that contains the section name doesn't strip out quotes that are turned into bold and italic text by the parser. For example the header =='''foo'''''bar''== is converted to =='''foo'''''bar''== when it should become /* foobar */ like it does in the non-visual editor. This is similar to T276722.

It might be hard to perfectly convert the complex logic in Parser::doQuotes, so it might be better to get the stripped heading from the API.