reportlab/platypus/paraparser.py
changeset 2410 f505ed647678
parent 2376 7e70411a7236
child 2446 6b9268ab33c3
--- a/reportlab/platypus/paraparser.py	Sat Nov 13 10:14:23 2004 +0000
+++ b/reportlab/platypus/paraparser.py	Thu Nov 18 14:23:20 2004 +0000
@@ -19,7 +19,7 @@
 from reportlab.lib.fonts import tt2ps, ps2tt
 from reportlab.lib.enums import TA_LEFT, TA_RIGHT, TA_CENTER, TA_JUSTIFY
 from reportlab.lib.units import inch,mm,cm,pica
-_re_para = re.compile('^\\s*<\\s*para(\\s+|>)')
+_re_para = re.compile(r'^\s*<\s*para(?:\s+|>|/>)')
 
 sizeDelta = 2       # amount to reduce font size by for super and sub script
 subFraction = 0.5   # fraction of font size that a sub script should be lowered