diff --git a/native/philomena/Cargo.lock b/native/philomena/Cargo.lock index 295dc15c..4ef3513f 100644 --- a/native/philomena/Cargo.lock +++ b/native/philomena/Cargo.lock @@ -94,7 +94,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "comrak" 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 = [ "bon", "caseless", diff --git a/native/philomena/Cargo.toml b/native/philomena/Cargo.toml index de8bab3d..7d8366f1 100644 --- a/native/philomena/Cargo.toml +++ b/native/philomena/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["dylib"] [dependencies] 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" jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] } regex = "1" diff --git a/native/philomena/src/tests.rs b/native/philomena/src/tests.rs index 39374cee..84418ed4 100644 --- a/native/philomena/src/tests.rs +++ b/native/philomena/src/tests.rs @@ -56,6 +56,14 @@ fn subscript_autolink_interaction() { ); } +#[test] +fn underscore_autolink_interaction() { + html( + "https://example.com/x_", + "
https://example.com/x_
\n" + ) +} + #[test] fn spoiler() { html(