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

OO-3836: escape < in TextRun because browsers rendered as unkown tags

parent b3e22c66
No related branches found
No related tags found
No related merge requests found
......@@ -676,7 +676,10 @@ public abstract class AssessmentObjectComponentRenderer extends DefaultComponent
break;
}
case TextRun.DISPLAY_NAME: {
sb.append(((TextRun)inline).getTextContent());
String content = ((TextRun)inline).getTextContent();
if(content != null) {
sb.append(content.replace("<", "&lt;"));
}
break;
}
case Math.QTI_CLASS_NAME: {
......
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