Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Fix wikilink processing bug #28

Merged
merged 1 commit into from
Aug 28, 2022
Merged

Conversation

vincenthuang75025
Copy link
Contributor

  • With WikiLink header syntax such as [[file.md#header-name|link name]], the target becomes file.md.html#header-name, so we must split the target by # before stripping .md.html.
  • Previously we were attempting to strip .md.html and then split by #, so all wikilinks to specific tags were not processed properly (and thus being treated as external links)

@jackyzha0 jackyzha0 merged commit 34bb5aa into jackyzha0:master Aug 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants