Skip to content

Commit

Permalink
Pull #13656: Ensure only forward slashes are in relative link to pare…
Browse files Browse the repository at this point in the history
…nt module
  • Loading branch information
stoyanK7 authored and romani committed Aug 27, 2023
1 parent a18d30f commit c3b4e2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ private static String getLinkToParentModule(String parentModule, String moduleNa
.relativize(Paths.get("src", "xdocs", "config.xml"))
.toString()
.replace(".xml", ".html")
.replace('\\', '/')
+ "#" + parentModule;
}

Expand Down

0 comments on commit c3b4e2a

Please sign in to comment.