mdn/markdown

Backslashes generated on linebreaks in blockquotes and definition lists

Closed this issue · 0 comments

With the following input:

<div class="warning">
  <p><strong>Warning:</strong> Try the following code instead:</p>

  <pre
    class="brush: js line-numbers language-js"
  ><code class="language-js">var img = document.createElementNS("http://www.w3.org/2000/svg", "image");
img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "move.png");</code></pre>
</div>

Actual:

> **Warning:** Try the following code instead:\
>
> ```js
> var img = document.createElementNS("http://www.w3.org/2000/svg", "image");
> img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "move.png");
> ```

Expected:

> **Warning:** Try the following code instead:
>
> ```js
> var img = document.createElementNS("http://www.w3.org/2000/svg", "image");
> img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "move.png");
> ```