• Resolved rasmusjuhl

    (@rasmusjuhl)


    Well, I was wondering why my page breaks completely when inserting some of my code. It turns out it is due to a simple backslash ( \ )

    Not only does it not work very well (like <>), it actually breaks my page such that if I quit my page builder without reverting the changes and removing \ – I will have to delete the page entirely and start from scratch because it will be completely blank if I open it up again (on front end AND in editor)
    I have many examples of this happening, but it boils down to the backslash.
    One example:

    class Format:
    end = ‘\033[0m’
    underline = ‘\033[4m’

    Don’t know if it makes a difference, but I use a page builder and insert the shortcode into a HTML element

    Hope you can help. Apart from these issues I love the plugin.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author George-Paul Cre?u

    (@necroob)

    Hi @rasmusjuhl
    Can you tell me what page builder are you using?
    Thanks!

    Thread Starter rasmusjuhl

    (@rasmusjuhl)

    I found out that the problem has nothing to do with your awesome plugin.
    Inserting \ anywhere will break the page. So, it is a wordpress or page builder issue.
    I’m using Blox Page Builder for this particular site. Not a recommendation.

    Plugin Author George-Paul Cre?u

    (@necroob)

    ohh.. Glad to hear that it’s not this plugin. Sorry about the other issue.

    I’ll mark this as resolved.

    Thread Starter rasmusjuhl

    (@rasmusjuhl)

    While you are here, totally unrelated, I do have one comment on the plugin and how to improve it.
    When lines don’t fit it will wrap around (great), however, line numbers will then be messed up. This is an even bigger problem on mobile devices.

    For instance, one of my snippets will continue on for 50+ lines after the last line number.
    Instead, it should leave blank spaces in between line numbers when wrapping text

    Plugin Author George-Paul Cre?u

    (@necroob)

    @rasmusjuhl Thanks for pointing that out. I’ll make a note on it and try to fix it in a future update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Backslash will break the page’ is closed to new replies.