From a60c7d9e794c71fc5b418a250b2d1dc26fadfb5e Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 17 Nov 2024 16:38:51 -0500 Subject: [PATCH] Add testcase for subscript-autolink interaction philomena-dev/philomena#315 --- native/philomena/src/tests.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/native/philomena/src/tests.rs b/native/philomena/src/tests.rs index 9f1f963f..f57eb0f2 100644 --- a/native/philomena/src/tests.rs +++ b/native/philomena/src/tests.rs @@ -48,6 +48,14 @@ fn subscript() { html("H%2%O\n", "
H2O
\n"); } +#[test] +fn subscript_autolink_interaction() { + html( + "https://example.com/search?q=1%2C2%2C3", + "
https://example.com/search?q=1%2C2%2C3
\n" + ); +} + #[test] fn spoiler() { html(