[all-commits] [llvm/llvm-project] 704cd4: [clangd] Only minimally escape text when rendering...
Sam McCall via All-commits
all-commits at lists.llvm.org
Tue Mar 17 09:10:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 704cd4d5d0754904361823588f203369c309deca
https://github.com/llvm/llvm-project/commit/704cd4d5d0754904361823588f203369c309deca
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-03-17 (Tue, 17 Mar 2020)
Changed paths:
M clang-tools-extra/clangd/FormattedString.cpp
M clang-tools-extra/clangd/FormattedString.h
M clang-tools-extra/clangd/unittests/FormattedStringTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
Log Message:
-----------
[clangd] Only minimally escape text when rendering to markdown.
Summary:
Conservatively escaping everything is bad in coc.nvim which shows the markdown
to the user, and we have reports of it causing problems for other parsers.
Fixes https://github.com/clangd/clangd/issues/301
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D75687
More information about the All-commits
mailing list