HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>

XMLWordPrintable

        HTMLReader specifies which action is used for handling HTML tags.

        The table in HTMLReader specifies CharacterAction is used for many character-level (inline) tags whereas the implementation uses ConvertAction. The tags affected: B, FONT, I, STRIKE, SUB, SUP, U, and S after JDK-8323801.

        The fix for JDK-4171509 replaced CharacterAction with ConvertAction.

        ConvertAction is not a public class, nor is it a subclass of CharacterAction.


        This problem was found during code review for JDK-8323801:
        https://github.com/openjdk/jdk/pull/17659#discussion_r1484158996
        https://github.com/openjdk/jdk/pull/17659#discussion_r1484361842

              Assignee:
              Alexey Ivanov
              Reporter:
              Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: