aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/html_tune.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/html_tune.rb')
-rw-r--r--lib/sisu/v5/html_tune.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/html_tune.rb b/lib/sisu/v5/html_tune.rb
index 026a1177..bd934ecc 100644
--- a/lib/sisu/v5/html_tune.rb
+++ b/lib/sisu/v5/html_tune.rb
@@ -119,7 +119,7 @@ module SiSU_HTML_Tune
end
str=str.gsub(/#{Mx[:gl_o]}(#[0-9]{3})#{Mx[:gl_c]}/u,'&\1;').
gsub(/#{Mx[:gl_o]}#([a-z]{2,4})#{Mx[:gl_c]}/u,'&\1;').
- gsub(/[\\]{2}/m,'<br />')
+ gsub(/[\\]{2}/m,'<br>')
end
end
class Tune
@@ -187,7 +187,7 @@ module SiSU_HTML_Tune
w=%{width="#{w}"} if w
h=%{height="#{h}"} if h
c=m[/"(.+?)"/m,1]
- caption=%{<br /><p class="caption">#{c}</p>} if c
+ caption=%{<br><p class="caption">#{c}</p>} if c
png=m.scan(/\S+/)[0]
image_path=@md.file.output_path.html_seg.rel_image
#image_path=(@md.fns =~/\.-ss[tm]$/) \
@@ -277,7 +277,7 @@ module SiSU_HTML_Tune
def markup(dob)
dob.obj=dob.obj.gsub(/#{Mx[:mk_o]}#([a-zA-Z]+)#{Mx[:mk_c]}/,'&\1;').
gsub(/#{Mx[:mk_o]}(#[0-9]+)#{Mx[:mk_c]}/,'&\1;')
- dob.obj=dob.obj.gsub(/#{Mx[:br_line]}|#{Mx[:br_nl]}/,'<br />') unless dob.is==:table
+ dob.obj=dob.obj.gsub(/#{Mx[:br_line]}|#{Mx[:br_nl]}/,'<br>') unless dob.is==:table
dob.obj=dob.obj.gsub(/#{Mx[:fa_bold_o]}(.+?)#{Mx[:fa_bold_c]}/,'<b>\1</b>').
gsub(/#{Mx[:fa_italics_o]}(.+?)#{Mx[:fa_italics_c]}/,'<i>\1</i>').
gsub(/#{Mx[:fa_underscore_o]}(.+?)#{Mx[:fa_underscore_c]}/,'<u>\1</u>').