We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0078a commit e9ad5a7Copy full SHA for e9ad5a7
quintagroup/seoptimizer/browser/viewlets.py
@@ -1,4 +1,4 @@
1
-from cgi import escape
+import cgi
2
from DateTime import DateTime
3
from Acquisition import aq_inner
4
@@ -17,6 +17,12 @@
17
from Products.CMFPlone.PloneTool import FLOOR_DATE, CEILING_DATE
18
19
20
+def escape(value):
21
+ """Extended escape"""
22
+ value = cgi.escape(value, True)
23
+ return value.replace("'","'")
24
+
25
26
class SEOTagsViewlet(ViewletBase):
27
""" Simple viewlet for custom title rendering.
28
"""
0 commit comments