Fixed windows fs path on setup_html2xhtml

pull/1/head
NA 2024-01-26 15:46:10 +00:00
parent 61036cf037
commit 1b0b9b57b3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ pub fn remove_illegal_chars(mut string: String) -> String {
/// Setup html2xhtml in the operating system's temp directory.
pub fn setup_html2xhtml() -> TempDir {
#[cfg(target_os = "windows")] {
const HTML2XHTML: &[u8; 268299] = include_bytes!("../html2xhtml-windows.zip");
const HTML2XHTML: &[u8; 268299] = include_bytes!(r"..\html2xhtml-windows.zip");
let html2xhtml_dir = match TempDir::new("html2xhtml-windows") {
Ok(temp_dir) => temp_dir,
Err(error) => {