Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6404896

200 unclosed html tags in api docs

XMLWordPrintable

    • b81
    • generic
    • generic

      Doug Lea writes:

      ! * Submaps of any <tt>NavigableMap<tt> must implement the
      ! * Submaps of any <tt>NavigableMap</tt> must implement the

      ------------------

      But I'm sure there's more where that came from.
      Here's how we find some of them:

      $ find -name SCCS -prune -false -o -type f -print | xargs perl -e 'for my $file (@ARGV) { for my $hit (`cat $file` =~ m~(<(tt|code|i|em|b)\b[^<>]*>[^<>]*<\2\b)~sg) { print "$file:\n$hit\n"; }}'

      $ rg -i '<(tt|code|i|em|b)\b[^<>]*>[^<>]*<\1\b'

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: