Unknow shortcode read on display site

I put the caption on a picture like this, the blog looks good,

enter image description here

but in the compact view, I receive this problem

enter image description here

I guess the editor can not read the HTML tag, Is anyone know what happened? enter image description here