anchor.diff:  /// Strip leading dartdoc comments from the given source code.
   String stripDartdocCommentsFromSource(String source) {
     var remainder = source.trimLeft();
  -  var sanitizer = const HtmlEscape();
  -  var lineComments = remainder.startsWith('///') ||
  -      remainder.startsWith(sanitizer.convert('///'));
  -  var blockComments = remainder.startsWith('/**') ||
  -      remainder.startsWith(sanitizer.convert('/**'));
  +  var lineComments = remainder.startsWith(_tripleSlash) ||
  +      remainder.startsWith(_escapedTripleSlash);
  +  var blockComments = remainder.startsWith(_slashStarStar) ||
  +      remainder.startsWith(_escapedSlashStarStar);
   
     return source.split('\n').where((String line) {
       if (lineComments) {
  -      if (line.startsWith('///') || line.startsWith(sanitizer.convert('///'))) {
  +      if (line.startsWith(_tripleSlash) ||
  +          line.startsWith(_escapedTripleSlash)) {
           return false;
         }
         lineComments = false;
         return true;
       } else if (blockComments) {
  -      if (line.contains('*/') || line.contains(sanitizer.convert('*/'))) {
  +      if (line.contains(_starSlash) || line.contains(_escapedStarSlash)) {
           blockComments = false;
           return false;
         }
  -      if (line.startsWith('/**') || line.startsWith(sanitizer.convert('/**'))) {
  +      if (line.startsWith(_slashStarStar) ||
  +          line.startsWith(_escapedSlashStarStar)) {
           return false;
         }
         return false;
  
positive.code:       return true;
      }
    }
    if (e is LibraryElement &&
        (e.identifier.startsWith('dart:_') ||
            e.identifier.startsWith('dart:nativewrappers/') ||
            ['dart:nativewrappers'].contains(e.identifier))) {
      return true;
    }
    if (e is LibraryElement) {
      var elementLocation = e.location;
      if (elementLocation != null) {
        var locationParts = elementLocation.components[0].split(slashes);
        // TODO(jcollins-g): Implement real cross package detection
        if (locationParts.length >= 2 &&
            locationParts[0].startsWith('package:') &&
            locationParts[1] == 'src') return true;
      }
    }
    return false;
  
negative.code:     return true;
    }).join('\n');
  }
  
  const HtmlEscape _escape = HtmlEscape();
  
  const String _tripleSlash = '///';
  
  final String _escapedTripleSlash = _escape.convert(_tripleSlash);
  
  const String _slashStarStar = '/**';
  
  final String _escapedSlashStarStar = _escape.convert(_slashStarStar);
  
  const String _starSlash = '*/';
  
  final String _escapedStarSlash = _escape.convert(_starSlash);
  
  /// Strip the common indent from the given source fragment.
  String stripIndentFromSource(String source) {
  