when I was using a rich text editor, I uploaded a web picture and randomly found one on Baidu ( https://image.baidu.com/
).
but when uploading, I saw that the address of the image in the data uploaded to the background is a little different ( &
has been globally replaced with &
). Directly copy the src
link of the a tag
in the rich text content, and open another image (coded, but it still looks dirty). I display the content of rich text in react
( dangerouslySetInnerHTML
), and the picture is fine.
later I found several pictures on Baidu and replaced &
globally with &
, all showing the dirty picture.
remove all the forehead parameters behind the picture on Baidu, that is, the soiled picture
this is the link https://timgsa.baidu.com/timg?image=
the other two different pictures are displayed on Android and ios. Why?