mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Allow content to contain links to network locations
This commit is contained in:
parent
19736aab04
commit
4cfbd57871
13 changed files with 129 additions and 30 deletions
|
@ -67,6 +67,8 @@ func getLink(t html.Token) (ok bool, link link.Link) {
|
|||
link.TargetID = strings.TrimSpace(a.Val)
|
||||
case "data-link-type":
|
||||
link.LinkType = strings.TrimSpace(a.Val)
|
||||
case "data-external-id":
|
||||
link.ExternalID = strings.TrimSpace(a.Val)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue