Add test for inline code block with html tags

This commit is contained in:
Samy Pessé
2015-09-22 22:36:35 +02:00
parent 0e9beeae14
commit 62d0eb606e
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -12,4 +12,5 @@ Block with a language
test 2
```
Inline code: `test 3`
Inline code: `test 3`
Inline code with html: `<test>`
+9
View File
@@ -52,5 +52,14 @@ describe("Code Highlighting", function () {
}
});
});
it("should correctly replace highlighting for inline code with html tags", function() {
PAGE.should.be.html({
"code": {
index: 2,
text: "code_<test>_code"
}
});
});
});