Notice that the %2F was incorrect converted into /.
I noticed this issue while using the flutter_quill package where I convert the HTML document into a Quill Delta JSON document. I have opened a related issue here but regardless of that I suspect the image link should be decoded correctly in the markdown package itself.
Issue: If the image link's path contains encoded string then it is incorrected decoded
Example Image Link (as obtained from uploading image to Firebase Storage)
The
ImageSyntax.createNode
calls thenormalizeLinkDestination
utility method that converts the above image link into:Notice that the
%2F
was incorrect converted into/
.I noticed this issue while using the flutter_quill package where I convert the HTML document into a Quill Delta JSON document. I have opened a related issue here but regardless of that I suspect the image link should be decoded correctly in the
markdown
package itself.