Skip to content

Commit

Permalink
Local links using <a link="...">
Browse files Browse the repository at this point in the history
  • Loading branch information
pgundlach committed Nov 22, 2023
1 parent 263dc90 commit 4c35a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func cmdA(xd *xtsDocument, layoutelt *goxml.Element) (xpath.Sequence, error) {
}
n, err := xd.getTextvalues("a", seq, map[string]string{}, "cmdA", layoutelt.Line)
n.Attr = append(n.Attr, html.Attribute{Key: "href", Val: attValues.Href})
n.Attr = append(n.Attr, html.Attribute{Key: "link", Val: attValues.Link})
return xpath.Sequence{n}, err
}

Expand Down

0 comments on commit 4c35a02

Please sign in to comment.