aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_syntax.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-12-08 21:01:14 -0500
committerRalph Amissah <ralph@amissah.com>2011-12-08 21:02:43 -0500
commit9cdd523ca3a5eccf25c96795cfefcc8999b84265 (patch)
tree697c567a8f3b1a54d2ec2c3ce7791ca8b6701a5a /lib/sisu/v3/dal_syntax.rb
parentv3: 3.1.7 version & changelog "opened" (diff)
v3: dal, codeblocks, removed identifier tags, changed markup of "<" & ">"
Diffstat (limited to 'lib/sisu/v3/dal_syntax.rb')
-rw-r--r--lib/sisu/v3/dal_syntax.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sisu/v3/dal_syntax.rb b/lib/sisu/v3/dal_syntax.rb
index 6d56e4aa..b887904e 100644
--- a/lib/sisu/v3/dal_syntax.rb
+++ b/lib/sisu/v3/dal_syntax.rb
@@ -332,7 +332,7 @@ module SiSU_Syntax
and defined? @md.creator \
and @md.creator
if dob.is =='heading'
- dob.obj.gsub!(/^\s*@title\s*$/,@md.title.full) if dob.lv =~/1/ #
+ dob.obj.gsub!(/^\s*@title\s*$/,@md.title.full) if dob.lv =~/1/
if dob.lv =~/[23]/ \
and defined? @md.creator.author \
and @md.creator.author
@@ -432,9 +432,6 @@ module SiSU_Syntax
dob=fontface(dob)
elsif dob.is =='code'
dob.obj.gsub!(/#{Mx[:meta_o]}(\S+?)#{Mx[:meta_c]}\s*/,'@\1: ')
- dob.obj.gsub!(/([<>])/,'_\1')
- dob.obj.gsub!(/_<:(\S+?)_>/,'<:\1>') #convert <:\S+> back, clumsy
- dob.obj.gsub!(/_<(br(?: \/)?)_>/,'<\1>') #convert <br> <br /> back, clumsy
dob.obj.gsub!(/(^|#{Mx[:gl_c]}|\s)&lt;(br(?: \/)?)&gt;([\s,.]|$)/,'\1<\2>\3') #convert <br> <br /> back, clumsy
if dob.number_
codeline=[]