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]
ansi-parser = "0.9.1"
anyhow = "1.0.97"
ggemini = "0.17.0"
ggemtext = "0.3.2"
ggemini = "0.17.1"
ggemtext = "0.4.0"
indexmap = "2.7.0"
itertools = "0.14.0"
libspelling = "0.3.0"
@ -44,6 +44,6 @@ syntect = "5.2.0"
# development
[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" }
# plurify = { git = "https://github.com/YGGverse/plurify.git" }

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