docz icon indicating copy to clipboard operation
docz copied to clipboard

Image links not correctly rendering on build

Open colbyfayock opened this issue 4 years ago • 1 comments

Bug Report

Describe the bug

When running the build command, markdown-based images wrapped in links aren't properly rendering. For example:

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/colbyfayock/gatsby-starter-docz-netlifycms)

Renders out to HTML:

<a href="https://app.netlify.com/start/deploy?repository=https://github.com/colbyfayock/gatsby-starter-docz-netlifycms" class="css-1iv9jyz">&lt;img alt=&quot;Deploy to Netlify&quot; src=&quot;https://www.netlify.com/img/deploy/button.svg&quot; /&gt;</a>

image

To Reproduce

  1. Clone or create a new project from: https://github.com/colbyfayock/gatsby-starter-docz-netlifycms
  2. Run npm run build
  3. Run npm run serve
  4. See image not working

Expected behavior

Image should render

Environment

  • docz version: 2.3.1
  • Node/npm version: v12.18.3

colbyfayock avatar Aug 22 '20 13:08 colbyfayock

Having the same issues as well!

daydream05 avatar Aug 26 '20 01:08 daydream05