[kupu-checkins] r43369 - kupu/trunk/kupu/plone
duncan at codespeak.net
duncan at codespeak.net
Mon May 14 15:58:47 CEST 2007
Author: duncan
Date: Mon May 14 15:58:46 2007
New Revision: 43369
Modified:
kupu/trunk/kupu/plone/html2captioned.py
Log:
Output transform fixes up Flash uid urls.
Modified: kupu/trunk/kupu/plone/html2captioned.py
==============================================================================
--- kupu/trunk/kupu/plone/html2captioned.py (original)
+++ kupu/trunk/kupu/plone/html2captioned.py Mon May 14 15:58:46 2007
@@ -62,7 +62,7 @@
</div>
'''
-UID_PATTERN = re.compile('(?P<tag><(?:a|img)\\s[^>]*(?:src|href)\s*=\s*")(?P<url>[^"]*resolveuid/(?P<uid>[^/"#? ]*))', re.DOTALL | re.IGNORECASE)
+UID_PATTERN = re.compile('(?P<tag><(?:a|img|object|param)\\s[^>]*(?:src|href|data|value)\s*=\s*")(?P<url>[^"]*resolveuid/(?P<uid>[^/"#? ]*))', re.DOTALL | re.IGNORECASE)
class HTMLToCaptioned:
"""Transform which adds captions to images embedded in HTML"""
More information about the kupu-checkins
mailing list