Commit aeceff64 authored by Guillaume Grossetie's avatar Guillaume Grossetie 🤘🏻
parent dd6018b8
......@@ -18,7 +18,7 @@ module.exports = class AsciidoctorXrefProcessorExtension {
(refId && refId.endsWith('.adoc') && (refId = refId.slice(0, -5)) !== undefined)
) {
let text
text = (text = node.$text()) === global.Opal.nil ? refId : text
text = (text = node.getText()) === undefined ? refId : text
return thisExtension[$$pageRefHandler](refId, text)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment