diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-28 15:45:16 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-29 13:27:08 +0100 |
commit | 78aa8c162e229efcde031fc97f3d3ddacfec0806 (patch) | |
tree | 95aec4b26e93fa5e840ac502c9620967887ca9ae /shared | |
parent | d7a9df68329bee42a4f2c4934351022c949f7c71 (diff) | |
download | gitlab-ce-78aa8c162e229efcde031fc97f3d3ddacfec0806.tar.gz |
Escape autocomplete results for Markdown
A label name can contain a `_`, `~~`, or other Markdown-significant
characters. But label references are processed _after_ Markdown processing has
run, so we can't easily fix this on the backend.
We can make it more convenient, though, by changing the frontend to escape these
characters so they aren't processed as Markdown, when we insert them from
autocomplete.
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions