Work around a bug in the roff crate fixing apostrophes in man pages.

- See https://github.com/rust-cli/roff-rs/issues/38
This commit is contained in:
Justus Winter 2024-01-17 11:36:06 +01:00
parent b5a7d15710
commit 9ae84305c0
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -898,6 +898,6 @@ impl ManualPage {
/// Return the `troff` source code for the manual page.
pub fn troff_source(&self) -> String {
self.roff.render()
self.roff.to_roff()
}
}