diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bc87e0..414a760 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## docx-wasm@0.0.278-rc1 (11. Apr, 2023) + +- Fixed a bug, style.link is not output. + ## docx-wasm@0.0.278-rc0 (27. Mar, 2023) - Fixed a bug, escape style name. diff --git a/docx-core/src/documents/elements/link.rs b/docx-core/src/documents/elements/link.rs index e073366..9889455 100644 --- a/docx-core/src/documents/elements/link.rs +++ b/docx-core/src/documents/elements/link.rs @@ -26,6 +26,6 @@ impl Serialize for Link { impl BuildXML for Link { fn build(&self) -> Vec { let b = XMLBuilder::new(); - b.next(&self.val).build() + b.link(&self.val).build() } } diff --git a/docx-wasm/package.json b/docx-wasm/package.json index 8e80eac..dee9092 100644 --- a/docx-wasm/package.json +++ b/docx-wasm/package.json @@ -1,6 +1,6 @@ { "name": "docx-wasm", - "version": "0.0.278-rc0", + "version": "0.0.278-rc1", "main": "dist/node/index.js", "browser": "dist/web/index.js", "author": "bokuweb ",