mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 12:08:00 +01:00
Update comrak version for autolinks
This commit is contained in:
parent
f9339292c4
commit
e8a67d0a1e
3 changed files with 10 additions and 2 deletions
2
native/philomena/Cargo.lock
generated
2
native/philomena/Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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]
|
||||
fn spoiler() {
|
||||
html(
|
||||
|
|
Loading…
Reference in a new issue