crowdagger / epub-builder

A Rust library for generating EPUB files
Mozilla Public License 2.0
135 stars 45 forks source link

Escape external contents #41

Closed jtojnar closed 1 year ago

jtojnar commented 1 year ago

Ideally, we would use XML builder rather than templating to avoid the need for this but that would be require a larger rewrite. (And the only nice library I have found is https://crates.io/crates/inline-xml but that does not seem very mature – the repo link is broken). https://lib.rs/crates/tagger would probably be okay but it is deprecated.)

As a bonus, we no longer need regex dependency.