fix: retain links across formatted text runs
This commit is contained in:
@@ -349,6 +349,11 @@ function createTextRuns(
|
||||
(style.hyperlinkProtected === true || style.hyperlink === true)
|
||||
) {
|
||||
run.href = pendingHref;
|
||||
} else if (
|
||||
!style.hidden &&
|
||||
style.hyperlinkProtected !== true &&
|
||||
style.hyperlink !== true
|
||||
) {
|
||||
pendingHref = undefined;
|
||||
}
|
||||
result.push(run);
|
||||
|
||||
Reference in New Issue
Block a user