diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-05-03 17:29:14 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-05-03 17:29:14 -0400 |
commit | 78e75a4cb1a2e959c1a960be5659219a241d461f (patch) | |
tree | e1d13144a8cdcd7b01bcdf7cc916290f1aa51974 /lib | |
parent | screen output, & minor arranging (diff) |
shared_txt, text wrap, <br> related, revert, issues when indented, revisit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v2/shared_txt.rb | 3 |
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" |