mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove new extra line according to new ggemtext behavior
This commit is contained in:
parent
b5a98c5d2c
commit
57c539c8ab
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue