diff options
Diffstat (limited to 'lib/sisu/v4/shared_txt.rb')
-rw-r--r-- | lib/sisu/v4/shared_txt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v4/shared_txt.rb b/lib/sisu/v4/shared_txt.rb index 4e5c659f..343b70b5 100644 --- a/lib/sisu/v4/shared_txt.rb +++ b/lib/sisu/v4/shared_txt.rb @@ -71,7 +71,7 @@ module SiSU_TextUtils out[line]='' @para=@para.gsub(/<br>/,' \\ '). gsub(/#{Mx[:br_nl]}/,"\n\n") - words=@para.scan(/\n\n|<br>|\S+/m) + words=@para.scan(/\n\n|\s+\\\s+|<br>|\S+/m) while words != '' word=words.shift if not word |