Update comrak version for autolinks

This commit is contained in:
Liam 2024-11-21 09:46:32 -05:00
parent f9339292c4
commit e8a67d0a1e
3 changed files with 10 additions and 2 deletions

View file

@ -94,7 +94,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "comrak" name = "comrak"
version = "0.29.0" version = "0.29.0"
source = "git+https://github.com/philomena-dev/comrak?branch=philomena-0.29.1#85054b19a0383ad9c05aba1add49111c860932dc" source = "git+https://github.com/philomena-dev/comrak?branch=philomena-0.29.2#00ac2a12d5797feb0ceba9a98487451ab65593fe"
dependencies = [ dependencies = [
"bon", "bon",
"caseless", "caseless",

View file

@ -11,7 +11,7 @@ crate-type = ["dylib"]
[dependencies] [dependencies]
base64 = "0.21" base64 = "0.21"
comrak = { git = "https://github.com/philomena-dev/comrak", branch = "philomena-0.29.1", default-features = false } comrak = { git = "https://github.com/philomena-dev/comrak", branch = "philomena-0.29.2", default-features = false }
http = "0.2" http = "0.2"
jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] } jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] }
regex = "1" regex = "1"

View file

@ -56,6 +56,14 @@ fn subscript_autolink_interaction() {
); );
} }
#[test]
fn underscore_autolink_interaction() {
html(
"https://example.com/x_",
"<div class=\"paragraph\"><a href=\"https://example.com/x_\">https://example.com/x_</a></div>\n"
)
}
#[test] #[test]
fn spoiler() { fn spoiler() {
html( html(