# Backticks não são transferidos ao citar apenas o trecho de código

**URL:** <https://meta.discourse.org/t/backticks-not-transferred-when-quoting-only-the-code-span/99517>\
**Category:** Bug\
**Created:** [Outubro 15, 2018, 7:03am UTC](https://meta.discourse.org/t/backticks-not-transferred-when-quoting-only-the-code-span/99517 "2018-10-15T07:03:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)\
**Post date:** [Outubro 15, 2018, 7:03am UTC](https://meta.discourse.org/t/backticks-not-transferred-when-quoting-only-the-code-span/99517/1 "2018-10-15T07:03:28Z")

</div>

I’ve noticed that backticks that denote [code spans](https://spec.commonmark.org/0.28/#code-spans) are not part of the quoted text when creating a quote. This is relevant where special characters are used that are treated differently depending whether they’re used inside a code span or not.

**Example**

The original text

`%APPDATA%\%TEST%\test.txt`

when quoted, becomes

> [@](#):
>
> %APPDATA%%TEST%\test.txt

treating the first backslash as an escape for the following percent sign and resulting in a misquote, where the correct quote would be

> [@](#):
>
> `%APPDATA%\%TEST%\test.txt`

---

_[View the full topic](https://meta.discourse.org/t/backticks-not-transferred-when-quoting-only-the-code-span/99517)._
