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

@ -31,8 +31,8 @@ version = "0.9.1"
[dependencies] [dependencies]
ansi-parser = "0.9.1" ansi-parser = "0.9.1"
anyhow = "1.0.97" anyhow = "1.0.97"
ggemini = "0.17.0" ggemini = "0.17.1"
ggemtext = "0.3.2" ggemtext = "0.4.0"
indexmap = "2.7.0" indexmap = "2.7.0"
itertools = "0.14.0" itertools = "0.14.0"
libspelling = "0.3.0" libspelling = "0.3.0"
@ -44,6 +44,6 @@ syntect = "5.2.0"
# development # development
[patch.crates-io] [patch.crates-io]
# ggemini = { git = "https://github.com/YGGverse/ggemini.git" } ggemini = { git = "https://github.com/YGGverse/ggemini.git" }
ggemtext = { git = "https://github.com/YGGverse/ggemtext.git" } ggemtext = { git = "https://github.com/YGGverse/ggemtext.git" }
# plurify = { git = "https://github.com/YGGverse/plurify.git" } # plurify = { git = "https://github.com/YGGverse/plurify.git" }

View file

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