src/reportlab/lib/rl_accel.py
branchhyphenation
changeset 4413 dec33c7e7922
parent 4389 61a7f0840d00
child 4551 d357e2acc856
--- a/src/reportlab/lib/rl_accel.py	Sun Jun 24 18:11:37 2018 +0100
+++ b/src/reportlab/lib/rl_accel.py	Mon Jun 25 17:02:08 2018 +0100
@@ -320,7 +320,7 @@
         'returns 1 if two ParaFrags map out the same'
         if (hasattr(f,'cbDefn') or hasattr(g,'cbDefn')
                 or hasattr(f,'lineBreak') or hasattr(g,'lineBreak')): return 0
-        for a in ('fontName', 'fontSize', 'textColor', 'rise', 'us_lines', 'link', "backColor"):
+        for a in ('fontName', 'fontSize', 'textColor', 'rise', 'us_lines', 'link', "backColor", "nobr"):
             if getattr(f,a,None)!=getattr(g,a,None): return 0
         return 1
     _py_funcs['sameFrag'] = sameFrag