Backslashes in code blocks are consumed on every save
-
When trying to use backslashes
\
within code blocks, they seem to be consumed every time a post is explicitly saved. For example, the following Markdown sample is written before saving:~~~bash PS1='\\[\33[0m\\]Hello ' ~~~
When previewing, the output is correct (
PS1='\[33[0m\]Hello '
). However, after saving the post editor refreshes de text area with the content modified like this:~~~bash PS1='\[33[\m\]Hello ' ~~~
Further saves will eat the backslashes once again, in particular, the
will be replaced by ?.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Backslashes in code blocks are consumed on every save’ is closed to new replies.