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

DecimalFormat javadoc contains HTML tags in example code

XMLWordPrintable

    • b14
    • generic
    • Verified

      A DESCRIPTION OF THE PROBLEM :
      The example code of java.lang.DecimalFormat contains the HTML tags `<strong>` and `</strong>` in the example code:
      > <strong>// Print out a number using the localized number, integer, currency,
      > // and percent format for each locale</strong>
      https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/text/DecimalFormat.html

      The reason for this is that at some point a {@code } was added to the example code block which therefore treats the HTML tags inside literally.


            naoto Naoto Sato
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: