summaryrefslogtreecommitdiffstats
path: root/test/codehighlighting.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/codehighlighting.js')
-rw-r--r--test/codehighlighting.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/codehighlighting.js b/test/codehighlighting.js
index d79fc85..5b3902b 100644
--- a/test/codehighlighting.js
+++ b/test/codehighlighting.js
@@ -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"
+ }
+ });
+ });
});