@antora/assembler 1.0.0-beta.4 → 1.0.0-beta.5

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.
@@ -400,7 +400,7 @@ function mergeAsciiDoc (
400
400
  if (~hashIdx && !relativePart.endsWith('.adoc')) relativePart += '.adoc'
401
401
  }
402
402
  if (!isPage || ~relativePart.indexOf('@') || /:.*:/.test(relativePart)) {
403
- if (siteUrl && (targetResource = contentCatalog.resolveResource(relativePart, page.src, 'page'))?.out) {
403
+ if (siteUrl && (targetResource = contentCatalog.resolveResource(relativePart, page.src, 'page'))?.pub) {
404
404
  text ||= targetResource.asciidoc?.xreftext || target
405
405
  return `${siteUrl}${targetResource.pub.url}${fragment && '#' + fragment}[${text}]`
406
406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antora/assembler",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.5",
4
4
  "description": "A JavaScript library that merges AsciiDoc content from multiple pages in an Antora site into assembly files and delegates to an exporter to convert those files to another format, such as PDF.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "OpenDevise Inc. (https://opendevise.com)",