aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-10 08:53:34 -0500
committerRalph Amissah <ralph@amissah.com>2011-03-10 08:53:34 -0500
commitcbcf26cd1fcb5dd3f839a8b5de8caf441d957b5f (patch)
treee80d784c6c656993ca1af7a30aa20130f0d7a5cc /lib/sisu/v2/dal_doc_str.rb
parentv2, v3: dal_substitutions_and_insertions: sisu header matching in codeblock, fix (diff)
v2, v3: dal_doc_str: fix, looks like typo in regex
Diffstat (limited to 'lib/sisu/v2/dal_doc_str.rb')
-rw-r--r--lib/sisu/v2/dal_doc_str.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_doc_str.rb b/lib/sisu/v2/dal_doc_str.rb
index bca3cf7d..56bf205f 100644
--- a/lib/sisu/v2/dal_doc_str.rb
+++ b/lib/sisu/v2/dal_doc_str.rb
@@ -330,7 +330,7 @@ module SiSU_document_structure_extract
sub_array=t_o.dup + "#{Mx[:br_nl]}"
@line_mode=sub_array.scan(/.+/)
@line_mode=[]
- sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\Ss]+/}
+ sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\S]+/}
t_o=SiSU_document_structure_extract::Build.new(@md,@line_mode).build_lines('code').join
@tuned_code << t_o
t_o=nil