diff --git a/lib/plugins/helper/search_form.js b/lib/plugins/helper/search_form.js index f2ed726eb5..a0ce916d5f 100644 --- a/lib/plugins/helper/search_form.js +++ b/lib/plugins/helper/search_form.js @@ -12,7 +12,7 @@ function searchFormHelper(options){ return '
' + '' + (button ? '' : '') + - '' + + '' + '
'; } diff --git a/test/scripts/helpers/search_form.js b/test/scripts/helpers/search_form.js index 0d1ef26f6f..1e22a31aa0 100644 --- a/test/scripts/helpers/search_form.js +++ b/test/scripts/helpers/search_form.js @@ -10,21 +10,21 @@ describe('search_form', function(){ it('default', function(){ searchForm().should.eql('
' + '' + - '' + + '' + '
'); }); it('class', function(){ searchForm({class: 'foo'}).should.eql('
' + '' + - '' + + '' + '
'); }); it('text', function(){ searchForm({text: 'Find'}).should.eql('
' + '' + - '' + + '' + '
'); }); @@ -32,7 +32,7 @@ describe('search_form', function(){ searchForm({button: true, text: 'Find'}).should.eql('
' + '' + '' + - '' + + '' + '
'); }); @@ -40,7 +40,7 @@ describe('search_form', function(){ searchForm({button: 'Go', text: 'Find'}).should.eql('
' + '' + '' + - '' + + '' + '
'); }); }); \ No newline at end of file