mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-28 12:04:13 +00:00
remove new extra line according to new ggemtext behavior
This commit is contained in:
parent
b5a98c5d2c
commit
57c539c8ab
@ -100,6 +100,8 @@ impl Reader {
|
||||
alt.as_str(),
|
||||
&[&tag.title.text_tag],
|
||||
);
|
||||
|
||||
// Append new line after alt text
|
||||
buffer.insert(&mut buffer.end_iter(), NEW_LINE);
|
||||
}
|
||||
|
||||
@ -110,8 +112,6 @@ impl Reader {
|
||||
&[&tag.code.text_tag],
|
||||
);
|
||||
|
||||
buffer.insert(&mut buffer.end_iter(), NEW_LINE);
|
||||
|
||||
// Reset
|
||||
multiline = None;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user