• Can someone tell me what’s going on here? My code is being split across dozens of lines a keyword or character at a time!

    Excerpt from page source; only the comments stay on a single line:

    <span class=”crayon-cn”>1</span>
    <span class=”crayon-sy”>,</span>
    <span class=”crayon-h”> </span>
    <span class=”crayon-cn”>2</span>
    <span class=”crayon-sy”>,</span>
    <span class=”crayon-h”> </span>
    <span class=”crayon-cn”>3</span>
    <span class=”crayon-sy”>,</span>
    <span class=”crayon-h”> </span>
    <span class=”crayon-cn”>4</span>
    <span class=”crayon-sy”>]</span>
    <span class=”crayon-sy”>;</span><span class=”crayon-h”> </span>
    <span class=”crayon-c”>//myArray contains the elements 1, 2, 3, 4</span>

    BUT– when I click on the ‘Open in new Window’ button, the code is highlighted normally:

    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
    • This topic was modified 6 years, 9 months ago by bcgreen2424.
Viewing 1 replies (of 1 total)
  • Thread Starter bcgreen2424

    (@bcgreen2424)

    It appears that there is a conflict with the WP KnowledgeBase plugin; creating a Crayon on a regular page works fine…

    • This reply was modified 6 years, 9 months ago by bcgreen2424.
Viewing 1 replies (of 1 total)
  • The topic ‘Crayon splitting code across dozens of lines’ is closed to new replies.