You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use relative URLs (/concepts/mode/) to link our own content instead of absolute URLs (https://webpack.js.org/concepts/mode/).
It renders into:
<p>Please use relative URLs (/concepts/mode/) to link our own content instead of absolute URLs (<ahref="https://webpack.js.org/concepts/mode/)">https://webpack.js.org/concepts/mode/)</a>.</p>
As you can see, there's a superfluous ) at the end of href of the a element.
Steps to reproduce
Here's the code to run:
varvfile=require('to-vfile')varreport=require('vfile-reporter')varunified=require('unified')varparse=require('remark-parse')vargfm=require('remark-gfm')varremark2rehype=require('remark-rehype')varstringify=require('rehype-stringify')unified().use(parse).use(gfm).use(remark2rehype).use(stringify).process(`Please use relative URLs (/concepts/mode/) to link our own content instead of absolute URLs (https://webpack.js.org/concepts/mode/).`,function(err,file){console.error(report(err||file))console.log(String(file))})
Expected behavior
No superfluous ) at the end of href.
Actual behavior
Superfluous ) included in href.
PS
You can see how github renders the markdown below:
Subject of the issue
Here's the markdown text:
Please use relative URLs (/concepts/mode/) to link our own content instead of absolute URLs (https://webpack.js.org/concepts/mode/).
It renders into:
As you can see, there's a superfluous
)
at the end ofhref
of thea
element.Steps to reproduce
Here's the code to run:
Expected behavior
No superfluous
)
at the end ofhref
.Actual behavior
Superfluous
)
included inhref
.PS
You can see how github renders the markdown below:
Please use relative URLs (/concepts/mode/) to link our own content instead of absolute URLs (https://webpack.js.org/concepts/mode/).
The text was updated successfully, but these errors were encountered: