# Unexpected removal of text in markdown conversion

**URL:** https://meta.discourse.org/t/unexpected-removal-of-text-in-markdown-conversion/37456
**Category:** Bug
**Tags:** markdown-it-review, markdown
**Created:** [4 januari 2016 om 23:34 UTC](https://meta.discourse.org/t/unexpected-removal-of-text-in-markdown-conversion/37456 "2016-01-04T23:34:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [4 januari 2016 om 23:34 UTC](https://meta.discourse.org/t/unexpected-removal-of-text-in-markdown-conversion/37456/1 "2016-01-04T23:34:32Z")

</div>

Note the line `There has been one in that time:` is missing.

##markdown

```
##Example Heading
There has been one in that time:
[quote="DeanMarkTaylor, post:1, topic:1"]
anything here
[/quote]

```

##Expected Output

 ![](https://global.discourse-cdn.com/meta/original/3X/4/a/4a96624b35328f45847b1bc386b0115436eef479.png)

##Actual Output

 ![](https://global.discourse-cdn.com/meta/original/3X/7/f/7f841e48fe1e7884bf36aab519e64345775a185d.png)

##Additional notes  
For the markdown without the `[quote ...][/quote]` placing text under the heading works as expected:

```
##Example Heading
There has been one in that time:
Some additional thing

```

Or placing a blank line before the `[quote ...]` line:

```
##Example Heading
There has been one in that time:

[quote="DeanMarkTaylor, post:1, topic:1"]
anything here
[/quote]

```

I tried this in dingus: [commonmark.js demo](http://spec.commonmark.org/dingus/)  
It gave unexpected results for all cases where a blank line wasn’t after the heading.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [27 juni 2017 om 21:59 UTC](https://meta.discourse.org/t/unexpected-removal-of-text-in-markdown-conversion/37456/2 "2017-06-27T21:59:28Z")

</div>

## Example Heading

There has been one in that time:

> [@New to Discourse? Start here!](https://meta.discourse.org/t/new-to-discourse-start-here/1/65121):
>
> anything here

It now works like an amazing 🚅

> [@CommonMark testing started here!](https://meta.discourse.org/t/commonmark-testing-started-here/65121):
>
> Per our [migration plans](https://meta.discourse.org/t/discourse-commonmark-migration-plans-confetti-ball-balloon), I just enabled [markdown.it](https://github.com/markdown-it/markdown-it) at Meta. It is an excellent [CommonMark](http://commonmark.org/) compliant engine. I expect quite a few edges to be found during this period of testing. Do not open bugs about the new Engine, just reply here. I/we will be updating the top post here with the list of issues and striking out stuff as it is fixed. Current known issues (to be fixed)white_check_mark Onebox vanishes after you start typing and works not-super consistently white_check_mark pending…

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [27 juni 2017 om 21:59 UTC](https://meta.discourse.org/t/unexpected-removal-of-text-in-markdown-conversion/37456/3 "2017-06-27T21:59:32Z")

</div>


