# Discourse Mangling Text in a Code Block

**URL:** <https://meta.discourse.org/t/discourse-mangling-text-in-a-code-block/31935>\
**Category:** Bug\
**Tags:** markdown-it-review\
**Created:** [8월 9, 2015, 8:48오후 UTC](https://meta.discourse.org/t/discourse-mangling-text-in-a-code-block/31935 "2015-08-09T20:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ccstone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ccstone/32/140215_2.png) [@ccstone](https://meta.discourse.org/u/ccstone)\
**Post date:** [8월 9, 2015, 8:48오후 UTC](https://meta.discourse.org/t/discourse-mangling-text-in-a-code-block/31935/1 "2015-08-09T20:48:50Z")

</div>

Hey Folks,

I’m posting AppleScript on the Keyboard Maestro forum using a code-block.

A user reported a compile problem with my code.

Rendered by Discourse:

```plaintext
set foundList to cng("<td class=\"pricesens\">.+title=[[:punct:]](price sensitive)[[:punct:]]>", "\\1", foundList) of me

```

What should be:

Double-Quote-Backslash-Backslash-1-Double-Quote

Is rendering as:

Double-Quote-Backslash-BackTick-Double-Quote.

`“\\1”`

Using a `<code></code>` block on the forum I can get the few characters above to show up correctly by adding a backslash, but it the code-block doesn’t like my complete line of code.

Using `<pre></pre>` tags doesn’t help on the forum, although it works perfectly well in a normal html page.

Code-blocks should be completely unadulterated, so I conclude this is a bug.

–  
Regards,  
Christopher Stone

---

_[View the full topic](https://meta.discourse.org/t/discourse-mangling-text-in-a-code-block/31935)._
