Closed
Description
Bug Report
We're following the docsify documentation, which states that it's possible to resize an image using a percentage: https://github.com/docsifyjs/docsify/blob/develop/docs/helpers.md#resizing
Steps to reproduce
Use markdown to insert an image, with 50% width:

What is current behaviour
Notice the width
is wrong. Instead of 50% it's just 50. Also the %
seems to somehow be transferred to the title
attribute:
<img src="/upstream-protocol/sample-app/_media/diagrams/sample_upstream_flow.png"
alt="My diagram"
title="%"
width="50"
height="50">
What is the expected behaviour
<img src="/upstream-protocol/sample-app/_media/diagrams/sample_upstream_flow.png"
alt="My diagram"
width="50%">
Other relevant information
Could this be a parsing mardown issue? Perhaps here: https://github.com/docsifyjs/docsify/blob/master/src/core/render/utils.js#L6-L14 ?
-
Bug does still occur when all/other plugins are disabled?
-
Your OS:
-
Node.js version:
-
npm/yarn version:
-
Browser version:
-
Docsify version: 4.11.3
-
Docsify plugins: