Better WordPress Syntax Highlighter
extra paragraphs around inline-pre (3 posts)

  1. mampf
    Posted 4 years ago #


    I got this code:
    The filename <pre lang="bash" inline="yes">$file will be …

    Now what I see at the html page is this:

    <p>The filename
    <code class="bwp-syntax-inline"><span style="color: #007800;">$file</span></code>
    <p> will be …

    See that paragraphs? They're really freaking me out. I got a very hard line break instead of a inline highlight.


  2. mampf
    Posted 4 years ago #

    I just double-checked it is

    • Not the theme (preview of multiple others used
    • Not any other plugin (deactivated every one
    • Not my code's fault (tested with CodeColorer successfully

    So what came to my mind: Could it be geshi gives you an extra line break, which will then be converted to a paragraph? Just a guess.

  3. Khang Minh
    Plugin Author

    Posted 4 years ago #

    Hi there,

    With a new approach for the next major release, I believe this bug will be fixed. For now I think you should use <code> for inline codes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Better WordPress Syntax Highlighter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic