anchor.diff:  };
   
   final Map<XmlAttributeType, Pattern> _attributePattern = {
  -  XmlAttributeType.SINGLE_QUOTE: new RegExp(r"['&<]"),
  -  XmlAttributeType.DOUBLE_QUOTE: new RegExp(r'["&<]')
  +  XmlAttributeType.SINGLE_QUOTE: new RegExp(r"['&<\n\r\t]"),
  +  XmlAttributeType.DOUBLE_QUOTE: new RegExp(r'["&<\n\r\t]')
   };
   
   final Map<XmlAttributeType, _ReplaceFunction> _attributeReplace = {
  
positive.code:         return '&amp;';
        case '<':
          return '&lt;';
      }
    },
    XmlAttributeType.DOUBLE_QUOTE: (Match match) {
  
negative.code:         return '&amp;';
        case '<':
          return '&lt;';
        case '\n':
          return '&#xA;';
        case '\r':
          return '&#xD;';
        case '\t':
          return '&#x9;';
      }
    },
  };