test ggemtext, ggemini version

This commit is contained in:
yggverse 2025-03-15 14:08:01 +02:00
parent 3232558eee
commit e671a7acd3
2 changed files with 5 additions and 7 deletions

View file

@ -270,10 +270,8 @@ impl Gemini {
let mut alt = Vec::new();
// Append external indicator on exist
if let Some(is_external) = link.is_external {
if is_external {
alt.push(EXTERNAL_LINK_INDICATOR.to_string());
}
if link.uri.scheme() != base.scheme() {
alt.push(EXTERNAL_LINK_INDICATOR.to_string());
}
// Append date on exist