original_docstring: Escape markup chars, but do not modify CDATA sections.
docstring: Escape markup chars, but do not modify CDATA sections.
docstring_tokens: Escape markup chars but do not modify CDATA sections .
code: def quote_xml(inStr):
      "Escape markup chars, but do not modify CDATA sections."
      if not inStr:
          return ''
      s1 = (isinstance(inStr, BaseStrType_) and inStr or '%s' % inStr)
      s2 = ''
      pos = 0
      matchobjects = CDATA_pattern_.finditer(s1)
      for mo in matchobjects:
          s3 = s1[pos:mo.start()]
          s2 += quote_xml_aux(s3)
          s2 += s1[mo.start():mo.end()]
          pos = mo.end()
      s3 = s1[pos:]
      s2 += quote_xml_aux(s3)
      return s2
code_tokens: def quote_xml ( inStr ) : if not inStr : return '' s1 = ( isinstance ( inStr , BaseStrType_ ) and inStr or '%s' % inStr ) s2 = '' pos = 0 matchobjects = CDATA_pattern_ . finditer ( s1 ) for mo in matchobjects : s3 = s1 [ pos : mo . start ( ) ] s2 += quote_xml_aux ( s3 ) s2 += s1 [ mo . start ( ) : mo . end ( ) ] pos = mo . end ( ) s3 = s1 [ pos : ] s2 += quote_xml_aux ( s3 ) return s2
short_docstring: Escape markup chars, but do not modify CDATA sections.
short_docstring_tokens: Escape markup chars but do not modify CDATA sections .
comment: "Escape markup chars, but do not modify CDATA sections."