[MERGE] don't assign a reused node.text value.
lp bug: https://launchpad.net/bugs/640677 fixed bzr revid: vmt@openerp.com-20110525080921-fyrkdkdm3niupn1f
This commit is contained in:
commit
6d0f31fbd1
|
@ -795,10 +795,10 @@ class _rml_flowable(object):
|
|||
return False
|
||||
else:
|
||||
import base64
|
||||
newtext = node.text
|
||||
if self.localcontext:
|
||||
newtext = utils._process_text(self, node.text or '')
|
||||
node.text = newtext
|
||||
image_data = base64.decodestring(node.text)
|
||||
image_data = base64.decodestring(newtext)
|
||||
if not image_data:
|
||||
self._logger.debug("No inline image data")
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue