-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from scpwiki/rel-link-fix
Fix anchor and subpath for relative links
- Loading branch information
Showing
29 changed files
with
556 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<wj-body class="wj-body"><p><a href="//page/edit" class="wj-link wj-link-internal" data-link-type="direct">Edit</a></p></wj-body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"input": "[//page/edit Edit]", | ||
"tree": { | ||
"elements": [ | ||
{ | ||
"element": "container", | ||
"data": { | ||
"type": "paragraph", | ||
"attributes": {}, | ||
"elements": [ | ||
{ | ||
"element": "link", | ||
"data": { | ||
"type": "direct", | ||
"link": "//page/edit", | ||
"extra": null, | ||
"label": { | ||
"text": "Edit" | ||
}, | ||
"target": null | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"element": "footnote-block", | ||
"data": { | ||
"title": null, | ||
"hide": false | ||
} | ||
} | ||
], | ||
"html-blocks": [ | ||
], | ||
"code-blocks": [ | ||
], | ||
"table-of-contents": [ | ||
], | ||
"footnotes": [ | ||
], | ||
"bibliographies": [ | ||
] | ||
}, | ||
"errors": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<wj-body class="wj-body"><p><a href="/relative/link#toc0" class="wj-link wj-link-internal" data-link-type="direct">text</a></p></wj-body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"input": "[/relative/link#toc0 text]", | ||
"tree": { | ||
"elements": [ | ||
{ | ||
"element": "container", | ||
"data": { | ||
"type": "paragraph", | ||
"attributes": {}, | ||
"elements": [ | ||
{ | ||
"element": "link", | ||
"data": { | ||
"type": "direct", | ||
"link": "/relative/link#toc0", | ||
"extra": null, | ||
"label": { | ||
"text": "text" | ||
}, | ||
"target": null | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"element": "footnote-block", | ||
"data": { | ||
"title": null, | ||
"hide": false | ||
} | ||
} | ||
], | ||
"html-blocks": [ | ||
], | ||
"code-blocks": [ | ||
], | ||
"table-of-contents": [ | ||
], | ||
"footnotes": [ | ||
], | ||
"bibliographies": [ | ||
] | ||
}, | ||
"errors": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<wj-body class="wj-body"><p><a href="/relative/link" class="wj-link wj-link-internal" data-link-type="direct">text</a></p></wj-body> |
Oops, something went wrong.