diff options
Diffstat (limited to 'lib/sisu/v3/shared_txt.rb')
-rw-r--r-- | lib/sisu/v3/shared_txt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/shared_txt.rb b/lib/sisu/v3/shared_txt.rb index 9603fda6..f8938da3 100644 --- a/lib/sisu/v3/shared_txt.rb +++ b/lib/sisu/v3/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 |