Markdown content escaped when editing comments
See original GitHub issueIssue Type: Bug
When editing a PR comment any Markdown content is backslash escaped which removes the formatting when the comment is saved. For example the following markdown text:
- a list
- of things
- that aren't important
is converted to this:
\- a list
\- of things
\- that aren't important
Extension version: 0.34.3 VS Code version: Code 1.63.2 (Universal) (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z) OS version: Darwin x64 20.6.0 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9750H CPU @ 2.60GHz (12 x 2600) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 3, 3, 3 |
Memory (System) | 32.00GB (0.12GB free) |
Process Argv | –crash-reporter-id ed50f89e-497f-43cd-86f3-a73119f730ed |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30384385
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dsc:30421290
pythonvs932:30410667
vscop804cf:30404767
vs360cf:30404996
vsrem710:30416614
vsccppwtstudy:30421978
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How do you escape comments in markdown? - Stack Overflow
If you want to use them as literal characters, you must escape them as entities, e.g. < , and & .
Read more >4.16 Escape special characters | R Markdown Cookbook
You need to escape the underscores if you want verbatim underscores instead of italic text. The way to escape a special character is...
Read more >Markdown/HTML escaping on comments search results ...
Problem. Performing a comments search like https://gitlab.com/search?group_id=9970&scope=notes&search=hello+world you can see several ...
Read more >Editing Problems with Markdown Incorrectly Escapes Contained ...
Expected: Markdown is correctly escaped (or not escaped at all) when editing posts with Markdown content. Visual Studiowindows 10.0visual studiovisual ...
Read more >Escaping Markdown Code Snippets and Inline Code as ...
Another related issue is escaping of the back tick character ` in an inline code block. The problem here is that the `...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @alexr00!
@MilesCranmer Yeah your screen capture reflects what I’m seeing.