mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
completed red-line links
This commit is contained in:
parent
16b7fd45d7
commit
7c2051cc7a
8 changed files with 70 additions and 16 deletions
|
@ -65,7 +65,7 @@ func getLink(t html.Token) (ok bool, link entity.Link) {
|
|||
case "data-link-target-document-id":
|
||||
link.TargetDocumentID = strings.TrimSpace(a.Val)
|
||||
case "data-link-target-id":
|
||||
link.TargetPageID = strings.TrimSpace(a.Val)
|
||||
link.TargetID = strings.TrimSpace(a.Val)
|
||||
case "data-link-type":
|
||||
link.LinkType = strings.TrimSpace(a.Val)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue