Automattic / Automattic/jetpack
Markdown: Backslashes stripped when restoring a revision
Open
[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
Assessment
This issue has not been assessed yet.