code: def _process_templatedata(self, node, **_):
          
  
          # escape double quotes
          value = re.sub('"', r'\\"', node.data)
  
          # escape new lines
          value = re.sub('\n', r'\\n', value)
  
          # append value to the result
          self.output.write('__result += "' + value + '";')
docs: Processes a `TemplateData` node, this is just a bit of as-is text
          to be written to the output.