Hey. Actually every time I attempt to save an image (within customizer) with either ‘automatically add paragraph’ turned on and viewing in text mode, or ‘automatically add paragraph’ turned off and viewing in visual mode, it parses into this:
&_lt;p&_gt;&_lt;img src=”[path]” alt=”logo-footer” width=”46″ height=”47″ /&_gt;&_lt;/p&_gt;
this was all i put in originally:
<img src=”[path]” alt=”logo-footer” width=”46″ height=”47″ />
(underscore added so it shows the same)
Visual view:
Scenario A: A simple image added (image tag with no wrapper element of any kind) to a widget viewed through the customizer. Auto p turned on.
Result A: it works and no weird parsing happens.
Scenario B: Same as scenario A. Auto p turned off.
Result B: Doesn’t work, spinning infinitely, parses weird p tag and html.
Text view:
Scenario C: Same as scenario A. Auto p turned off.
Result C: Works fine, no p added, no unusual parsing.
Scenario B: Same as scenario A. Auto p turned on.
Result B: Doesn’t work, spinning infinitely, parses weird p tag and html.
Another glitch is even if i’m in text view and i add a wrapping div to the image tag, i get the spinning wheel of death and weird parsing.