aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/odf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-25 02:19:11 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-25 02:19:11 +0100
commit9208f7117032849695e061e1fdd375f85a50ccac (patch)
treee04ccd671decb64df1abbfda2823075e0b44f9f7 /lib/sisu/v0/odf.rb
parentdocumentation regenerated, large diff (diff)
cosmetic: html table of contents; urls html output
Diffstat (limited to 'lib/sisu/v0/odf.rb')
-rw-r--r--lib/sisu/v0/odf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v0/odf.rb b/lib/sisu/v0/odf.rb
index 15b95a3c..d4d4fd2f 100644
--- a/lib/sisu/v0/odf.rb
+++ b/lib/sisu/v0/odf.rb
@@ -470,6 +470,7 @@ module SiSU_ODF
para=para.strip
end
para.gsub!(/_</m,'&lt;'); para.gsub!(/_>/m,'&gt;') #code-block: angle brackets special characters
+ #para.gsub!(/</,'&lt;'); para.gsub!(/>/,'&gt;')
para.gsub!(/^(<:i[1-9]>\s+)?_\*\s+/,'\1<draw:frame draw:style-name="gr1" text:anchor-type="as-char" svg:width="0.22cm" svg:height="0.22cm" draw:z-index="2"><draw:image xlink:href="Pictures/bullet_09.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/></draw:frame> ') # bullet_09.png
#para.gsub!(/^(<:i[1-9]>\s+)?_\*\s+/,'\1<text:span text:style-name="T6">●</text:span> ') #bullet
#para.gsub!(/^(<:i[1-9]>\s+)?_\*\s+/,'\1● ') # bullet utf8, make smaller if used