@qcplay/cli 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -215,7 +215,7 @@ export function convertLarkDocumentXml(xml, sourceUrl = "") {
215
215
 
216
216
  root.find("img").each((_, image) => {
217
217
  const element = $(image);
218
- const url = normalizeText(element.attr("url") || element.attr("src"));
218
+ const url = normalizeText(element.attr("url") || element.attr("href") || element.attr("src"));
219
219
  if (!url) {
220
220
  throw new Error(`飞书文档图片缺少可访问地址: ${normalizeText(element.attr("token")) || "未知图片"}`);
221
221
  }