diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-09-22 22:46:19 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-09-22 22:46:19 +0200 |
commit | f0ddb6e89f78558814e3a3b4ac6c919b8d5ac3a8 (patch) | |
tree | 019121501dc7017f3a32f3f2ada5c0207494e7b9 /test/codehighlighting.js | |
parent | 0e9beeae14682b8124db3df580a21e6a76cc0805 (diff) | |
parent | 2b408db7cb18fb8cea8e1932e70926e84cd64136 (diff) | |
download | gitbook-f0ddb6e89f78558814e3a3b4ac6c919b8d5ac3a8.zip gitbook-f0ddb6e89f78558814e3a3b4ac6c919b8d5ac3a8.tar.gz gitbook-f0ddb6e89f78558814e3a3b4ac6c919b8d5ac3a8.tar.bz2 |
Merge branch 'fix/inline_code_html'
Diffstat (limited to 'test/codehighlighting.js')
-rw-r--r-- | test/codehighlighting.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/codehighlighting.js b/test/codehighlighting.js index d79fc85..9f392af 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: 3, + text: "code_<test>_code" + } + }); + }); }); |