fix image link lost during conversion to markdown