Back to index

plone3  3.1.7
Variables
kupu.plone.html2captioned Namespace Reference

Variables

 ITransform = None
tuple name2codepoint = name2codepoint.copy()
string __revision__ = '$Id$'
string PATIMG = '\<img[^>]+class\s*=[^=>]*captioned[^>]+\>'
string PATA = '(?:(?P<atag0>\<a[^>]*\>)'
string PAT0 = '(?P<pat0>'
string PAT1 = '<(?:p|div)[^>]*>'
tuple IMAGE_PATTERN = re.compile(PAT1, re.IGNORECASE)
string ATTR_VALUE = '=(?:"?)(?P<%s>(?<=")[^"]*|[^ \/>]*)'
string ATTR_CLASS = 'class'
string ATTR_WIDTH = 'width'
string ATTR_HEIGHT = 'height'
string ATTR_ALT = 'alt'
tuple ATTR_PATTERN

Variable Documentation

Definition at line 31 of file html2captioned.py.

Definition at line 49 of file html2captioned.py.

Definition at line 46 of file html2captioned.py.

Definition at line 48 of file html2captioned.py.

Initial value:
00001 re.compile('''
00002     (?P<tag><
00003      ( class%s
00004      | src\s*=\s*"resolveuid/(?P<src>([^/"#? ]*))
00005      | width%s
00006      | alt%s
00007      | height%s
00008      | .
00009      )

Definition at line 51 of file html2captioned.py.

string kupu.plone.html2captioned.ATTR_VALUE = '=(?:"?)(?P<%s>(?<=")[^"]*|[^ \/>]*)'

Definition at line 45 of file html2captioned.py.

Definition at line 47 of file html2captioned.py.

tuple kupu.plone.html2captioned.IMAGE_PATTERN = re.compile(PAT1, re.IGNORECASE)

Definition at line 40 of file html2captioned.py.

Definition at line 13 of file html2captioned.py.

tuple kupu.plone.html2captioned.name2codepoint = name2codepoint.copy()

Definition at line 28 of file html2captioned.py.

string kupu.plone.html2captioned.PAT0 = '(?P<pat0>'

Definition at line 38 of file html2captioned.py.

string kupu.plone.html2captioned.PAT1 = '<(?:p|div)[^>]*>'

Definition at line 39 of file html2captioned.py.

string kupu.plone.html2captioned.PATA = '(?:(?P<atag0>\<a[^>]*\>)'

Definition at line 37 of file html2captioned.py.

string kupu.plone.html2captioned.PATIMG = '\<img[^>]+class\s*=[^=>]*captioned[^>]+\>'

Definition at line 36 of file html2captioned.py.