DescriptionGN: Trim newlines in markdown help blocks
In markdown mode (--markdown) GN puts the actual help text into fenced blocks.
Newlines at the beginning or end of such a block are not stripped and appear
in the generated HTML output, taking up vertical space.
This change ensures that newlines at the start and end are removed.
BUG=
Review-Url: https://codereview.chromium.org/2773043005
Cr-Commit-Position: refs/heads/master@{#460024}
Committed: https://chromium.googlesource.com/chromium/src/+/823f2a25b3be32ce6920072ec2b9c2d9f06ec377
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|