Automattic / Automattic/jetpack

Markdown: Backslashes stripped when restoring a revision

Open
#3,914 2 comments 0 reactions 0 assignees View on GitHub
[Feature] Markdown [Pri] Low [Status] Auto-allocated Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

All the backslashes are stripped when restoring a revision if the markdown module of Jetpack is enabled.
#### Steps to reproduce the issue
1. Enable **markdown** module in Jetpack.
2. Create a new page with the content `C:\Test`, save it (revision 1).
3. Add something else, save the page.
4. Restore revision 1, the page content becomes `C:Test`, backslash is missing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.