aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-03 17:29:14 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-03 17:29:14 -0400
commit78e75a4cb1a2e959c1a960be5659219a241d461f (patch)
treee1d13144a8cdcd7b01bcdf7cc916290f1aa51974
parentscreen output, & minor arranging (diff)
shared_txt, text wrap, <br> related, revert, issues when indented, revisit
-rw-r--r--lib/sisu/v2/shared_txt.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v2/shared_txt.rb b/lib/sisu/v2/shared_txt.rb
index 1e77acb7..abf5e035 100644
--- a/lib/sisu/v2/shared_txt.rb
+++ b/lib/sisu/v2/shared_txt.rb
@@ -79,7 +79,8 @@ module SiSU_text_utils
out[line] unless out[line].empty? #check
break
elsif word =~/<br>/
- word="\n" + ' '*@n_indent
+ word=nil
+ out[line]=out[line].gsub(/<br>/,'')
line=line
elsif word =~/\n\n/
word="\n"