Skip to content

Commit

Permalink
Merge pull request #5 from Scrum/milestone-0.1.2
Browse files Browse the repository at this point in the history
Milestone 0.1.2
  • Loading branch information
Scrum authored Aug 5, 2020
2 parents 3257d5a + 1edf518 commit 97e0c01
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 266 deletions.
12 changes: 11 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
## <small>0.1.2 (2020-08-05)</small>

* build: update dep dev ([75f7140](https://github.com/Scrum/remark-lint-double-link/commit/75f7140))
* fix: validation anchor link, close #4 ([16e272d](https://github.com/Scrum/remark-lint-double-link/commit/16e272d)), closes [#4](https://github.com/Scrum/remark-lint-double-link/issues/4)
* test: validate anchor link, issue #4 ([cc540d0](https://github.com/Scrum/remark-lint-double-link/commit/cc540d0)), closes [#4](https://github.com/Scrum/remark-lint-double-link/issues/4)



## <small>0.1.1 (2020-07-20)</small>

* 0.1.1 ([a4e9834](https://github.com/Scrum/remark-lint-double-link/commit/a4e9834))
* Update readme.md ([95cbe7f](https://github.com/Scrum/remark-lint-double-link/commit/95cbe7f))
* build: update changelog ([6bd2576](https://github.com/Scrum/remark-lint-double-link/commit/6bd2576))
* build: update dep dev ([8c2e9a0](https://github.com/Scrum/remark-lint-double-link/commit/8c2e9a0))
* perf: normalize url, close #2 ([7b41d33](https://github.com/Scrum/remark-lint-double-link/commit/7b41d33)), closes [#2](https://github.com/Scrum/remark-lint-double-link/issues/2)
* test: normalize url, for issue #2 ([f27d1ed](https://github.com/Scrum/remark-lint-double-link/commit/f27d1ed)), closes [#2](https://github.com/Scrum/remark-lint-double-link/issues/2)
* docs: remove quality badge ([129c344](https://github.com/Scrum/remark-lint-double-link/commit/129c344))
* docs: update description ([4412796](https://github.com/Scrum/remark-lint-double-link/commit/4412796))
* Update readme.md ([95cbe7f](https://github.com/Scrum/remark-lint-double-link/commit/95cbe7f))



Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function processor(tree, file) {
const links = new Map();

visit(tree, 'link', node => {
const url = normalizeUrl(node.url, {
const url = node.url.startsWith('#') ? node.url : normalizeUrl(node.url, {
removeDirectoryIndex: true,
stripHash: true,
stripProtocol: true,
Expand Down
Loading

0 comments on commit 97e0c01

Please sign in to comment.