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

no-jira: double escaping in list of learn areas

parent 92a4f2f2
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ import java.util.List;
import org.olat.core.gui.UserRequest;
import org.olat.core.gui.components.Component;
import org.olat.core.gui.components.EscapeMode;
import org.olat.core.gui.components.link.Link;
import org.olat.core.gui.components.link.LinkFactory;
import org.olat.core.gui.components.panel.StackedPanel;
......@@ -86,7 +87,9 @@ public class CourseAreasController extends MainLayoutBasicController {
listenTo(tableCtrl);
tableCtrl.addColumnDescriptor(new DefaultColumnDescriptor("table.header.name", 0, null, getLocale()));
tableCtrl.addColumnDescriptor(new DefaultColumnDescriptor("table.header.description", 1, null, getLocale()));
DefaultColumnDescriptor descriptionColDesc = new DefaultColumnDescriptor("table.header.description", 1, null, getLocale());
descriptionColDesc.setEscapeHtml(EscapeMode.antisamy);
tableCtrl.addColumnDescriptor(descriptionColDesc);
tableCtrl.addColumnDescriptor(new StaticColumnDescriptor(TABLE_ACTION_EDIT, "action", translate("edit")));
tableCtrl.addColumnDescriptor(new StaticColumnDescriptor(TABLE_ACTION_DELETE, "action", translate("delete")));
......
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