We use the DpSyntaxHighlighterPlugin
. When we paste a code snippet into a PRE tag, Generic Type information is treated as an XML tag, turned into lower case, and closed.
(Arguably, that's to be expected, as we are using
, but I'd argue it should then be interpreted as XML by the browser and - due to the pointy brackets - not be displayed.)
Please examine the following code snippet in RAW View
(as textarea will convert certain HTML tags) and compare to the screenshot below:
- Java's Generic type gets treated as an XML tag in a code snippet using PRE - it is turned into lower case letters and closed: