Image from Word is incorrectly pasted when its alternative text is an URL #2516
Labels
plugin:pastefromword
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
The same image as in the Word document is pasted into the editor.
Actual result
The image with
src
attribute pointing to URL which was present inalt
attribute is used:From one side it is a very specific edge case, I have discovered it when looking into the plugins code. It wasn't reported earlier which means nobody encountered it "in a wild" yet (or just didn't report it).
On the other hand I can imagine a situation when somebody may want to use and URL as an image alt text like in the example document above (and screenshot below).
Other details
Latest - 4.10.1
Paste from Word
The text was updated successfully, but these errors were encountered: