fix(mdx-loader): fix md image paths with spaces bug related to transformImage encoding problem (#10723)

This commit is contained in:
Sébastien Lorber 2024-11-28 16:39:43 +01:00 committed by GitHub
parent ffdd415129
commit fb7ad2c1bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 37 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -206,7 +206,7 @@ Code tag + double pipe: <code>&#124;&#124;</code>
Code tag + double pipe: <code>||</code>
## Images edge cases
## Images
![](/新控制器空间/图片.png)
@ -214,6 +214,10 @@ Code tag + double pipe: <code>||</code>
![](/4/docu.png)
![](</image with spaces.png>)
![](<@site/_dogfooding/_asset-tests/image with spaces.png>)
## Details
<details>
@ -359,10 +363,14 @@ See [#3337](https://github.com/facebook/docusaurus/issues/3337)
- [/someFile.xyz](/someFile.xyz)
- [/image with space.png](</image with spaces.png>)
- [@site/\_dogfooding/\_asset-tests/someFile.pdf](@site/_dogfooding/_asset-tests/someFile.pdf)
- [@site/\_dogfooding/\_asset-tests/someFile.xyz](@site/_dogfooding/_asset-tests/someFile.xyz)
- [@site/\_dogfooding/\_asset-tests/image with space.png](<@site/_dogfooding/_asset-tests/image with spaces.png>)
### Linking to non-SPA page hosted within website
See [#3309](https://github.com/facebook/docusaurus/issues/3309)