Skip to content

Commit

Permalink
refactor: update path formatting in PrimeDownIO
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jul 8, 2024
1 parent c84413d commit ed8052b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prime_down/pd_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl PrimeDownIO {
}

format!(
"{}/{}", path, &FileUtils::replace_extension(file, "html")
"{}/{}", path.replace("\\", "/"), &FileUtils::replace_extension(file, "html")
)
}

Expand Down

0 comments on commit ed8052b

Please sign in to comment.