Fix Maruku Math Bug

Reported by Andrew Stacey.
This commit is contained in:
Jacques Distler 2010-11-27 00:43:22 -06:00
parent cd674bbb36
commit f914a40fa9
2 changed files with 8 additions and 0 deletions

View file

@ -58,6 +58,8 @@ MaRuKu::In::Markdown.register_block_extension(
end
opening, tex = first.scan(EquationStart).first
# ensure newline at end of first line of equation isn't swallowed
tex << "\n"
numerate = doc.get_setting(:math_numbered).include?(opening)
label = nil
loop do