mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Add testcase for subscript-autolink interaction philomena-dev/philomena#315
This commit is contained in:
parent
3c4b717917
commit
a60c7d9e79
1 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,14 @@ fn subscript() {
|
||||||
html("H%2%O\n", "<div class=\"paragraph\">H<sub>2</sub>O</div>\n");
|
html("H%2%O\n", "<div class=\"paragraph\">H<sub>2</sub>O</div>\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn subscript_autolink_interaction() {
|
||||||
|
html(
|
||||||
|
"https://example.com/search?q=1%2C2%2C3",
|
||||||
|
"<div class=\"paragraph\"><a href=\"https://example.com/search?q=1%2C2%2C3\">https://example.com/search?q=1%2C2%2C3</a></div>\n"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn spoiler() {
|
fn spoiler() {
|
||||||
html(
|
html(
|
||||||
|
|
Loading…
Reference in a new issue