Sync with Maruku.
This commit is contained in:
parent
488dd334f7
commit
f406318168
3 changed files with 6 additions and 6 deletions
|
@ -53,7 +53,6 @@ class LineSource
|
|||
end
|
||||
|
||||
def describe
|
||||
#s = "At line ##{@lines_index} of #{@lines.size}:\n"
|
||||
s = "At line #{original_line_number(@lines_index)}\n"
|
||||
|
||||
context = 3 # lines
|
||||
|
@ -63,8 +62,8 @@ class LineSource
|
|||
for i in from..to
|
||||
prefix = (i == @lines_index) ? '--> ' : ' ';
|
||||
l = @lines[i]
|
||||
s += "%10s %4s|#{l}" %
|
||||
[@lines[i].md_type.to_s, prefix]
|
||||
s += "%10s %4s|%s" %
|
||||
[@lines[i].md_type.to_s, prefix, l]
|
||||
|
||||
s += "|\n"
|
||||
end
|
||||
|
|
|
@ -631,7 +631,8 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
|||
end
|
||||
con.push_element md_image(alt_text, ref_id)
|
||||
else # no stuff
|
||||
con.push_elements children
|
||||
ref_id = alt_text.to_s.downcase.gsub(' ','_')
|
||||
con.push_element md_image(alt_text, ref_id)
|
||||
end
|
||||
end # read link
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#++
|
||||
|
||||
module MaRuKu
|
||||
Version = '0.5.1'
|
||||
Version = '0.5.2'
|
||||
|
||||
MarukuURL = 'http://maruku.rubyforge.org/'
|
||||
|
||||
|
|
Loading…
Reference in a new issue