allow exactly one p containing exactly one img to be shown in the preview