public/javascripts/fckeditor/fckeditor.py in typo-5.0.3.98.1 vs public/javascripts/fckeditor/fckeditor.py in typo-5.1
- old
+ new
@@ -1,8 +1,8 @@
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
-Copyright (C) 2003-2007 Frederico Caldeira Knabben
+Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
@@ -55,11 +55,11 @@
def Create(self):
return self.CreateHtml()
def CreateHtml(self):
HtmlValue = escape(self.Value)
- Html = "<div>"
+ Html = ""
if (self.IsCompatible()):
File = "fckeditor.html"
Link = "%seditor/%s?InstanceName=%s" % (
self.BasePath,
@@ -103,11 +103,10 @@
self.InstanceName,
WidthCSS,
HeightCSS,
HtmlValue
)
- Html += "</div>"
return Html
def IsCompatible(self):
if (os.environ.has_key("HTTP_USER_AGENT")):
sAgent = os.environ.get("HTTP_USER_AGENT", "")
@@ -157,6 +156,5 @@
elif (sValue == "false"):
sParams += "%s=false" % k
else:
sParams += "%s=%s" % (k, v)
return sParams
-