better recognition of embedded-recursive substitution to repeat interpolation

pull/919/head
sebres 2015-01-20 17:31:17 +01:00
parent 33e9e2174a
commit 6b42878b8c
1 changed files with 4 additions and 2 deletions

View File

@ -407,9 +407,11 @@ class CommandAction(ActionBase):
done.append(found_tag)
m = t.search(value, m.start())
#logSys.log(5, 'TAG: %s, newvalue: %s' % (tag, value))
# if was substituted, check again later:
# was substituted?
if tags[tag] != value:
repFlag = True
# check again later if embedded-recursive substitution:
if value.startswith('<') and value.endswith('>'):
repFlag = True
tags[tag] = value
if not repFlag:
break