fix(v2): fix encoding of markdown image/file inline file-loaders (#4736)

* try to reproduce windows edge case due to file encoding

* mdx loader => required file paths should be escaped

* revert bad change

* try to fix posix path issues

* try to fix posix path issues

* attempt to fix the file-loader edge cases with non-ascii chars

* Add more example image edge-cases
This commit is contained in:
Sébastien Lorber 2021-05-06 16:48:20 +02:00 committed by GitHub
parent 39105f03d4
commit a79c70c954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 148 additions and 40 deletions

View file

@ -222,3 +222,23 @@ See https://github.com/facebook/docusaurus/pull/1584
Code tag + double pipe: <code>&#124;&#124;</code>
Code tag + double pipe: <code>||</code>
## Images edge cases
![](/dogfooding/新控制器空间/图片.png)
![](../../../static/dogfooding/新控制器空间/图片.png)
![](./../../../static/dogfooding/新控制器空间/图片.png)
![](/dogfooding/4/图片.png)
![](../../../static/dogfooding/4/图片.png)
![](./../../../static/dogfooding/4/图片.png)
![](/dogfooding/4/docu.png)
![](../../../static/dogfooding/4/docu.png)
![](./../../../static/dogfooding/4/docu.png)