Fix Maruku Math Bug
Reported by Andrew Stacey.
This commit is contained in:
parent
cd674bbb36
commit
f914a40fa9
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue