canvas-native
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -50,3 +50,3 @@ 'use strict'; | ||
get: function get() { | ||
return new RegExp('^' + MARKDOWN_MATCH + '$'); | ||
return new RegExp('^' + MARKDOWN_MATCH + '$', 'i'); | ||
} | ||
@@ -53,0 +53,0 @@ }, { |
@@ -18,3 +18,3 @@ import UnorderedList from './unordered-list'; | ||
static get markdownPattern() { | ||
return new RegExp(`^${MARKDOWN_MATCH}$`); | ||
return new RegExp(`^${MARKDOWN_MATCH}$`, 'i'); | ||
} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "canvas-native", | ||
"description": "Utilities for working with the native Canvas format", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Jonathan Clem <jonathan@usecanvas.com>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/usecanvas/canvas-native/issues", |
@@ -39,2 +39,7 @@ import Checklist from '../../../lib/types/checklist'; | ||
}); | ||
it('parses uppercase X', () => { | ||
line = Checklist[matchType](matchSource.replace(/x/, 'X')); | ||
expect(line).to.be.an.instanceof(Checklist); | ||
}); | ||
}); | ||
@@ -41,0 +46,0 @@ }); |
102068
2811