Bug report: Backslash not kept after saving
-
I’ve found that a backslash needs to be escaped in the code section by doubling it. That is OK. The problem is that the double backslash will become a single backslash after saving. So whenever I edit my posts, I need to:
- Either edit my saved copy and copy it to the edit box
- Or remember to re-double my backslashes in code
This is apparently a bug in the system, isn’t it?
-
-
OK. This post http://yongweiwu.wordpress.com/2014/12/14/y-combinator-and-cplusplus/ has the problem.
In the source code I originally typed (two backslashes; not sure whether it will show up correctly):
`
sqr = \ x -> x * x
`If I edit the page, I can only see one backslash in the source code:
`
sqr = x -> x * x
`Previewing the page then will then only show:
`
sqr = x -> x * x
` -
Try again to fix the format problem. This post http://yongweiwu.wordpress.com/2014/12/14/y-combinator-and-cplusplus/ has the problem.
In the source code I originally typed (two backslashes; not sure whether it will show up correctly):
sqr = \ x -> x * xIf I edit the page, I can only see one backslash in the source code:
sqr = x -> x * xPreviewing the page then will then only show:
sqr = x -> x * x -
Interestingly for the new blog I am writing, double-backslash is not required in my first code block, but is required for later code blocks. How confusing it is!
-
Thanks for the report! Can you try using the code tags like this?
http://en.support.wordpress.com/code/posting-source-code/
You’ll need to try this within the Text Editor. Let me know if that makes a difference (seemed to on my side)! More on that code here:
-
I did not expect the code tag to behave differently from the triple-backtick, but it does seem to be more predictable. Thanks!
-
- The topic ‘Bug report: Backslash not kept after saving’ is closed to new replies.