| 1 |
use super::*; |
| 2 |
|
| 3 |
#[test] |
| 4 |
fn highlight() { |
| 5 |
html_opts!( |
| 6 |
[extension.highlight], |
| 7 |
concat!( |
| 8 |
"This is ==important!==.\n", |
| 9 |
"\n", |
| 10 |
"This is ==very important== OK?\n", |
| 11 |
"\n", |
| 12 |
"==It is a \n shrubbery==\n", |
| 13 |
"\n", |
| 14 |
"Vendo ==Opel Corsa **em bom estado**==\n", |
| 15 |
"\n", |
| 16 |
"Ceci n'est pas =important=\n" |
| 17 |
), |
| 18 |
concat!( |
| 19 |
"<p>This is <mark>important!</mark>.</p>\n", |
| 20 |
"<p>This is <mark>very important</mark> OK?</p>\n", |
| 21 |
"<p><mark>It is a\nshrubbery</mark></p>\n", |
| 22 |
"<p>Vendo <mark>Opel Corsa <strong>em bom estado</strong></mark></p>\n", |
| 23 |
"<p>Ceci n'est pas =important=</p>\n" |
| 24 |
), |
| 25 |
); |
| 26 |
} |