Problem with posting of code fragment

when I’m trying to post code like

and put above code inside ``` , it is shown as:

REGEDIT4

[HKEY_CURRENT_USER\Software\AAA]
"DDD"="D:\\folder1\\10\\bin\\myprog.exe"

i.e. \1 is replaced with ```

the same with <pre> tag:

REGEDIT4

[HKEY_CURRENT_USER\Software\AAA]
"DDD"="D:\\folder1\\10\\bin\\myprog.exe"

blockquote also works incorrectly:

REGEDIT4

[HKEY_CURRENT_USER\Software\AAA]
“DDD”=“D:\folder1\10\bin\myprog.exe”

it this case, it replaces \\1 with ```

Q: how I can post above code as codefragment correctly?

2 Likes

Definitely an oddity, @sam is working on upgrading us to CommonMark now and this can be tested at that time.

1 Like

This seems to be working right now:

REGEDIT4

[HKEY_CURRENT_USER\Software\AAA]
"DDD"="D:\\folder1\\10\\bin\\myprog.exe"

I junked all our old custom code hoisting so these kind of issues are handled correctly by the engine.

3 Likes