GN: 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-Original-Commit-Position: refs/heads/master@{#460024}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 823f2a25b3be32ce6920072ec2b9c2d9f06ec377
2 files changed
tree: ad62a3d31905389266956cf589ce98c07dc526cd
  1. tools/