• I tried write a simple java code like this

    List<Integer> myList = new ArrayList<>();
    

    but the output is a mess!! this is the output.
    <span class="typ">List</span><span class="pun"><</span><span class="typ">Integer</span><span class="pun">></span><span class="pln"> myList </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">ArrayList</span><span class="pun"><>();</span>

Viewing 1 replies (of 1 total)
  • Plugin Author Alex (a11n)

    (@alexsanford1)

    Are you using the Block Editor, with the SyntaxHighlighter Code block? Or the Classic Editor in “Visual” or “Text” mode?

    Also please indicate which language you have specified in the block or shortcode, which Highlighter version you are using (v2.x or v3.x in the Settings), and which theme you are using.

    Also, is this the text being displayed on the page, or is this the output HTML?

Viewing 1 replies (of 1 total)
  • The topic ‘Output shows extra css tags’ is closed to new replies.