equal
deleted
inserted
replaced
784 |
784 |
785 ## intra-paragraph XML should be allowed through into PLATYPUS |
785 ## intra-paragraph XML should be allowed through into PLATYPUS |
786 def unknown_starttag(self, tag, attrs): |
786 def unknown_starttag(self, tag, attrs): |
787 if self._curPara: |
787 if self._curPara: |
788 echo = '<%s' % tag |
788 echo = '<%s' % tag |
789 for (key, value) in list(attrs.items()): |
789 for key, value in attrs.items(): |
790 echo = echo + ' %s="%s"' % (key, value) |
790 echo = echo + ' %s="%s"' % (key, value) |
791 echo = echo + '>' |
791 echo = echo + '>' |
792 self._curPara.rawtext = self._curPara.rawtext + echo |
792 self._curPara.rawtext = self._curPara.rawtext + echo |
793 else: |
793 else: |
794 print('Unknown start tag %s' % tag) |
794 print('Unknown start tag %s' % tag) |