Skip to content

Commit d12b9cf

Browse files
committed
Fix again a regexp for removing line break
1 parent efcdc9f commit d12b9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ever2boost/md_converter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def convert(note_content)
3333
.gsub(/<div(.*?)-en-codeblock(.*?)><div(.*?)>(.*?)<\/div><\/div>/, "\n```\n#{code_block}\n```")
3434
.gsub(/<div(.*?)>(.*?)<\/div>/m, '\2')
3535
.gsub(/<div(.*?)>/, '')
36-
.gsub(/<\/div>/, '\n')
36+
.gsub(/<\/div>/, '')
3737
.gsub(/#+/, '\0 ')
3838
.gsub(/<span(.*?)>(.*?)<\/span>/m, '\2')
3939
.gsub(/<span(.*?)>/, '\2')

0 commit comments

Comments
 (0)