mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
fix: newline_to_br filter should output <br /> instead of <br/>, fixes #320
This commit is contained in:
@@ -26,9 +26,9 @@ describe('filters/html', function () {
|
||||
'there\n' +
|
||||
'{% endcapture %}' +
|
||||
'{{ string_with_newlines | newline_to_br }}'
|
||||
const dst = '<br/>' +
|
||||
'Hello<br/>' +
|
||||
'there<br/>'
|
||||
const dst = '<br />\n' +
|
||||
'Hello<br />\n' +
|
||||
'there<br />\n'
|
||||
return test(src, dst)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user