# Discourse doesn't follow the CommonMark spec for HTML \<pre\> tags inside code spans

**URL:** <https://meta.discourse.org/t/discourse-doesnt-follow-the-commonmark-spec-for-html-pre-tags-inside-code-spans/25406>\
**Category:** Bug\
**Tags:** markdown-it-review\
**Created:** [Février 19, 2015, 3:46 UTC](https://meta.discourse.org/t/discourse-doesnt-follow-the-commonmark-spec-for-html-pre-tags-inside-code-spans/25406 "2015-02-19T15:46:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ajedi32](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ajedi32/32/107370_2.png) [@Ajedi32](https://meta.discourse.org/u/Ajedi32)\
**Post date:** [Février 19, 2015, 3:48 UTC](https://meta.discourse.org/t/discourse-doesnt-follow-the-commonmark-spec-for-html-pre-tags-inside-code-spans/25406/2 "2015-02-19T15:48:13Z")

</div>

```plaintext
This is the `<pre>` tag.

```

Results in:

This is the `<pre>` tag.

When any following part of the document contains preformatted text:

```
This is pre-formatted text.
```

---

_[View the full topic](https://meta.discourse.org/t/discourse-doesnt-follow-the-commonmark-spec-for-html-pre-tags-inside-code-spans/25406)._
