Skip to content
Snippets Groups Projects
Commit e718ea42 authored by srosse's avatar srosse
Browse files

OO-2608: correct illegal start position

parent 95beda1f
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,9 @@ class QTI12To21HtmlHandler extends DefaultHandler { ...@@ -140,6 +140,9 @@ class QTI12To21HtmlHandler extends DefaultHandler {
length -= diff; length -= diff;
envelopP = true; envelopP = true;
} }
if(start < 0) {
start = 0;//Bug neko
}
xtw.writeCharacters(ch, start, length); xtw.writeCharacters(ch, start, length);
} else { } else {
xtw.writeCharacters(ch, start, length); xtw.writeCharacters(ch, start, length);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment