Extraneous indent when a captioned image is inserted alongside text

Hello!

I’ve been working on a couple of texts in the Open Textbooks theme and have noticed that whenever I insert a left- or right-justified image in the text, the paragraph that wraps around that image has an extraneous tab at the beginning of the first line. This only happens when the image has a caption. The indent goes away when I remove the caption.

I thought I’d pass the word along!

Best wishes,
Naomi

There are some weird situations with the style about the indent and the space between paragraphs, yes.

00