Skip to content

Commit

Permalink
Fix for issue oli-obk#31
Browse files Browse the repository at this point in the history
  • Loading branch information
ehoeve committed Feb 22, 2021
1 parent ea825a1 commit cdb2d96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ pub enum PandocOption {
/// --reference-odt=FILENAME
ReferenceOdt(PathBuf),
/// --reference-docx=FILENAME
ReferenceDocx(PathBuf),
ReferenceDoc(PathBuf),
/// --epub-stylesheet=FILENAME
EpubStylesheet(PathBuf),
/// --epub-cover-image=FILENAME
Expand Down Expand Up @@ -348,8 +348,8 @@ impl PandocOption {
TitlePrefix(ref s) => pandoc.args(&[format!("--title-prefix={}", s)]),
Css(ref url) => pandoc.args(&[format!("--css={}", url)]),
ReferenceOdt(ref file) => pandoc.args(&[format!("--reference-odt={}", file.display())]),
ReferenceDocx(ref file) => {
pandoc.args(&[&format!("--reference-docx={}", file.display())])
ReferenceDoc(ref file) => {
pandoc.args(&[&format!("--reference-doc={}", file.display())])
}
EpubStylesheet(ref file) => {
pandoc.args(&[&format!("--epub-stylesheet={}", file.display())])
Expand Down

0 comments on commit cdb2d96

Please sign in to comment.