Thanks. Yes I know about the text editor but I still can’t find no p tags there.
However, it seems to me that the culprit is the caption code (that begins with [caption id] and ends with [/caption]). I have a feeling that this code by default adds an empty line above the captioned image. By comparison, the problem with an extra line DOES NOT happen if you simply insert a right aligned image WITHOUT a caption text.
So if it would be possible to tweak the caption code that might solve my problem?