Skip to content

Commit

Permalink
Improved MDDocProcessor.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrumhurum committed May 1, 2022
1 parent 30acc04 commit c774f84
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ static string _GetOrigHeadCore() =>
if (j != -1)
localPath = localPath[0..j];

j = localPath.IndexOf('#');
if (j != -1)
localPath = localPath[0..j];

var rootUri = new Uri(RootPath);
uri = rootUri.MakeRelativeUri(uri);
uri = new Uri(Uri.UnescapeDataString(uri.OriginalString), UriKind.Relative);
Expand Down

0 comments on commit c774f84

Please sign in to comment.