aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/shared_txt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/shared_txt.rb')
-rw-r--r--lib/sisu/v4/shared_txt.rb2
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