@uniweb/semantic-parser 1.1.13 → 1.1.14
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.
package/package.json
CHANGED
|
@@ -572,6 +572,8 @@ function parseImgBlock(itemAttrs) {
|
|
|
572
572
|
theme,
|
|
573
573
|
role,
|
|
574
574
|
credit = "",
|
|
575
|
+
id, // {#fig-id} cross-reference label — preserved so Press
|
|
576
|
+
// adapters can emit \label{id} (LaTeX) / <id> (Typst).
|
|
575
577
|
} = itemAttrs;
|
|
576
578
|
|
|
577
579
|
let { contentType, viewType, contentId, identifier } = imgInfo || {};
|
|
@@ -605,6 +607,7 @@ function parseImgBlock(itemAttrs) {
|
|
|
605
607
|
theme,
|
|
606
608
|
role,
|
|
607
609
|
credit,
|
|
610
|
+
id: id || undefined,
|
|
608
611
|
};
|
|
609
612
|
}
|
|
610
613
|
|