62 |
|
|
63 |
for child in self._children: |
for child in self._children: |
64 |
if child._type == "_content_": |
if child._type == "_content_": |
65 |
dest.write(child.getContent().encode(gConfig('textEncoding'))) |
dest.write(child.getContent().encode(gConfig('textEncoding'),'replace')) |
66 |
elif isinstance(child, GRLayoutElement) and child._enabled: |
elif isinstance(child, GRLayoutElement) and child._enabled: |
67 |
# Handle GRSections specially as |
# Handle GRSections specially as |
68 |
# they require extra logic |
# they require extra logic |