Convert a classic post with a non-ascii named image to Gutenberg block, breaks the image #11284
Labels
[Block] Classic
Affects the Classic Editor Block
[Feature] Block Transforms
Block transforms from one block to another
[Feature] Paste
[Type] Bug
An existing feature does not function as intended
Describe the bug
Originally discovered when testing this other issue .
By creating a post via the classic editor, adding an image with a non-ascii name (in this case
img-nön-ñàsc'íi-แปลภาษา
), and then switching this to Gutenberg editor by clicking on "convert to block" breaks the image.Also in the front-end seems that the div for the image is not generated:

To Reproduce
Steps to reproduce the behavior:
img-nön-ñàsc'íi-แปลภาษา.png
Expected behavior
The image to keep showing up in both the editor and the post
Screenshots
The text was updated successfully, but these errors were encountered: