Skip to content

Commit ce19937

Browse files
committed
Merged branch finder into master
2 parents 49acd8a + 4af8615 commit ce19937

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

browser/lib/markdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ md.block.ruler.at('paragraph', function (state, startLine/*, endLine*/) {
9696
token.map = [ startLine, state.line ]
9797

9898
if (state.parentType === 'list') {
99-
let match = content.match(/\[( |x)\] ?(.+)/i)
99+
let match = content.match(/^\[( |x)\] ?(.+)/i)
100100
if (match) {
101-
content = `<label class='taskListItem' for='checkbox-${startLine + 1}'><input type='checkbox'${match[1] !== ' ' ? ' checked' : ''} id='checkbox-${startLine + 1}'/> ${match[2]}</label>`
101+
content = `<label class='taskListItem' for='checkbox-${startLine + 1}'><input type='checkbox'${match[1] !== ' ' ? ' checked' : ''} id='checkbox-${startLine + 1}'/> ${content.substring(4, content.length)}</label>`
102102
}
103103
}
104104

browser/main/Detail/TagSelect.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
margin 0
2727
padding 0
2828
border-style solid
29-
border-color $ui-borderColor
29+
border-color $ui-button--focus-borderColor
3030
border-width 0 0 0 3px
3131
line-height 18px
3232
background-color transparent

browser/main/NoteList/NoteList.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
border-radius 3px
8484
vertical-align middle
8585
border-style solid
86-
border-color $ui-borderColor
86+
border-color $ui-button--focus-borderColor
8787
border-width 0 0 0 3px
8888
background-color $ui-backgroundColor
8989

0 commit comments

Comments
 (0)