mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
in LaTeXspan (as in all the other tickhandlers) cursor(f) points one character into the enclosed span, so I need to cursor(f)-1 to point at the first character in the span
This commit is contained in:
+2
-2
@@ -947,8 +947,8 @@ static void
|
||||
LaTeXspan(MMIOT *f, int size)
|
||||
{
|
||||
Qchar('$', f);
|
||||
if ( size > 1 )
|
||||
code(f, cursor(f), size-1);
|
||||
if ( size > 0 )
|
||||
code(f, cursor(f)-1, size);
|
||||
Qchar('$', f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user