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

Merge OpenOLAT 10.2 to OpenOLAT default branch with 18c0697360150e41d6c1f5ddd8e5e6cf44658496

parents e73a0047 faebb770
No related branches found
No related tags found
No related merge requests found
......@@ -310,8 +310,8 @@ public class IQComponentRenderer implements ComponentRenderer {
StringOutput sb = new StringOutput();
sb.append("<td>");
String title = StringHelper.escapeHtml(itc.getEl_item().attributeValue("title", "no title"));
String titleShort = StringHelper.escapeHtml(Formatter.truncate(title, 27));
String titleNotEscaped = itc.getEl_item().attributeValue("title", "no title");
String titleShort = StringHelper.escapeHtml(Formatter.truncate(titleNotEscaped, 27));
long maxdur = itc.getDurationLimit();
long start = itc.getTimeOfStart();
long due = start + maxdur;
......@@ -332,7 +332,7 @@ public class IQComponentRenderer implements ComponentRenderer {
sb.append("<a onclick=\"return o2cl();\" href=\"");
ubu.buildURI(sb, new String[] { VelocityContainer.COMMAND_ID }, new String[] { "git" });
sb.append("?itid=" + itemPos + "&seid=" + sectionPos);
sb.append("\" class=\"o_sel_qti_menu_item\" title=\"" + StringEscapeUtils.escapeHtml(title) + "\">");
sb.append("\" class=\"o_sel_qti_menu_item\" title=\"" + StringEscapeUtils.escapeHtml(titleNotEscaped) + "\">");
}
sb.append("<b>" + (sectionPos + 1) + "." + (itemPos + 1) + ".</b>&nbsp;");
......
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