fix (#538)
parent
0be616ddb4
commit
5a9c13dd5e
|
@ -2,7 +2,7 @@ use serde::Serialize;
|
|||
|
||||
use super::*;
|
||||
use crate::documents::BuildXML;
|
||||
use crate::xml_builder::*;
|
||||
use crate::{escape::*, xml_builder::*};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Default)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
|
@ -38,7 +38,7 @@ impl DocumentRels {
|
|||
r#type: impl Into<String>,
|
||||
) -> Self {
|
||||
self.hyperlinks
|
||||
.push((id.into(), path.into(), r#type.into()));
|
||||
.push((id.into(), escape(&path.into()), r#type.into()));
|
||||
self
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "docx-wasm",
|
||||
"version": "0.0.276-rc23",
|
||||
"version": "0.0.276-rc24",
|
||||
"main": "dist/node/index.js",
|
||||
"browser": "dist/web/index.js",
|
||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||
|
|
Loading…
Reference in New Issue