From 98b2a47734fbb87ce94fc1d3a89eea01d92b538a Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Thu, 23 May 2013 11:54:17 +0200
Subject: [PATCH] OO-614: add float property to the cross site scripting

---
 .../filter/impl/_resources/antisamy-tinymce.xml   | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/main/java/org/olat/core/util/filter/impl/_resources/antisamy-tinymce.xml b/src/main/java/org/olat/core/util/filter/impl/_resources/antisamy-tinymce.xml
index b9162d42f62..81aee18fd68 100644
--- a/src/main/java/org/olat/core/util/filter/impl/_resources/antisamy-tinymce.xml
+++ b/src/main/java/org/olat/core/util/filter/impl/_resources/antisamy-tinymce.xml
@@ -593,6 +593,21 @@
 				<regexp name="percentage" />
 			</regexp-list>
 		</property>
+		
+		<property name="float" default="none"
+			description="">
+
+			<category-list>
+				<category value="visual" />
+			</category-list>
+
+			<literal-list>
+				<literal value="left" />
+				<literal value="right" />
+				<literal value="none" />
+				<literal value="inherit" />
+			</literal-list>
+		</property>
 
 		<property name="text-decoration" default="none"
 			description="">
-- 
GitLab