Fix newlines in highlighter and markdown example

This commit is contained in:
Héctor Ramón Jiménez 2024-07-18 22:55:40 +02:00
parent 23ad15391c
commit 1d1a5f1a28
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 1 additions and 1 deletions

View file

@ -169,7 +169,6 @@ impl Highlight {
pub fn font(&self) -> Option<Font> {
self.0.font_style.and_then(|style| {
let bold = style.contains(highlighting::FontStyle::BOLD);
let italic = style.contains(highlighting::FontStyle::ITALIC);
if bold || italic {