11.08., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit a833b9a1 authored by di68kap's avatar di68kap

Punkte nach Belegen

parent b2b001e7
......@@ -1628,8 +1628,9 @@ class AusgabeTransformation(TreeProcessor):
if i + 1 < len(teilbaum.children) and teilbaum[i + 1].tag_name == 'TEXT':
teilbaum[i + 1].result = was + teilbaum[i + 1].result
else:
teilbaum.result = teilbaum.result[:i + 1] + (Node('TEXT', was, True),) \
+ teilbaum.result[i + 1:]
element.result = element.children + (Node('TEXT', was, True),)
# teilbaum.result = teilbaum.result[:i + 1] + (Node('TEXT', was, True),) \
# + teilbaum.result[i + 1:]
return teilbaum
except ValueError:
element.result = element.children + (Node('TEXT', was, True),)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment