aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-12-28 12:46:53 -0500
committerRalph Amissah <ralph@amissah.com>2012-12-28 12:46:53 -0500
commite92c86268c6ecee130e80e9449f911d0764f65c0 (patch)
tree988766818051a03efe55c3e2923c57887a5bbbb7 /lib/sisu/v4
parentv4 v3: html_segments (by_filename by_filetype) broken internal doc links fixed (diff)
v4 v3: param, minor change any legacy <br> line break in metadata markup to \\
Diffstat (limited to 'lib/sisu/v4')
-rw-r--r--lib/sisu/v4/param.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v4/param.rb b/lib/sisu/v4/param.rb
index 40f9b983..b205ef6a 100644
--- a/lib/sisu/v4/param.rb
+++ b/lib/sisu/v4/param.rb
@@ -230,6 +230,7 @@ module SiSU_Param
if x =~/^%\s/ #ignore comment
elsif x =~/:(\S+?):\s+(.+)/
a,b=/:(\S+?):\s+(.+)\Z/m.match(x)[1,2]
+ b=b.gsub(/\s*<br(?: \/)?>\s*/,' \\\\\\ ')
b=if b =~/\n/m
(b =~/;\n/m) \
? (b.split(/;\s*\n\s*/).join(';'))