Chromium Code Reviews| Index: lib/src/prism/tests/languages/markup+php/markup_feature.test |
| diff --git a/lib/src/prism/tests/languages/markup+php/markup_feature.test b/lib/src/prism/tests/languages/markup+php/markup_feature.test |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b771f46769e39ffd2bd9dcd9bdd4ec74d104e4bf |
| --- /dev/null |
| +++ b/lib/src/prism/tests/languages/markup+php/markup_feature.test |
| @@ -0,0 +1,37 @@ |
| +<div class="foo"></div> |
| + |
| +---------------------------------------------------- |
| + |
| +[ |
| + ["markup", [ |
| + ["tag", [ |
| + ["tag", [ |
| + ["punctuation", "<"], |
| + "div" |
| + ]], |
| + ["attr-name", [ |
| + "class" |
| + ]], |
| + ["attr-value", [ |
| + ["punctuation", "="], |
| + ["punctuation", "\""], |
| + "foo", |
| + ["punctuation", "\""] |
| + ]], |
| + ["punctuation", ">"] |
| + ]] |
| + ]], |
| + ["markup", [ |
| + ["tag", [ |
| + ["tag", [ |
| + ["punctuation", "</"], |
| + "div" |
| + ]], |
| + ["punctuation", ">"] |
| + ]] |
| + ]] |
| +] |
| + |
| +---------------------------------------------------- |
| + |
| +Checks for markup in PHP. |