remove new extra line according to new ggemtext behavior

This commit is contained in:
yggverse 2024-12-02 20:48:21 +02:00
parent b5a98c5d2c
commit 57c539c8ab

View File

@ -100,6 +100,8 @@ impl Reader {
alt.as_str(), alt.as_str(),
&[&tag.title.text_tag], &[&tag.title.text_tag],
); );
// Append new line after alt text
buffer.insert(&mut buffer.end_iter(), NEW_LINE); buffer.insert(&mut buffer.end_iter(), NEW_LINE);
} }
@ -110,8 +112,6 @@ impl Reader {
&[&tag.code.text_tag], &[&tag.code.text_tag],
); );
buffer.insert(&mut buffer.end_iter(), NEW_LINE);
// Reset // Reset
multiline = None; multiline = None;
} }