• colognehosting

    (@colognehosting)


    `Hi there,

    i don’t have newlines for pre/code. I’ve read all the threads on here and tried the fixes but nothing works.

    Thanks
    Andreas

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Hi @colognehosting

    i cannot see any code formatting issues on the provided link – BUT your html sourcecode looks like that some optimization plugin removes all kind of leading whitespaces and applies “weak” “optimizations” to the html – that might be your issue.

    best regards, Andi

    Thread Starter colognehosting

    (@colognehosting)

    Hi @andi-dittrich,

    hm, it is right, that there are cache plugins working (i deactivated HTML optimization) – but i have line breaks with “quote” Tag and i have no with pre or code Tag:
    ###
    <Files xmlrpc.php>
    Order Allow,Deny
    Deny from all
    </Files>

    <Files xmlrpc.php> Order Allow,Deny Deny from all </Files>
    ###

    I can not believe, that yo don’t see that. I have this issue on every Browser i have …

    Thanks!

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    the issue is your “caching” plugin – the behaviour of EnlighterJS is correct – the sourcecode doesn’t include any linebreaks, therefore they cannot be displayed.

    Thread Starter colognehosting

    (@colognehosting)

    All cache-Plugins are fully deactivated, still no line breaks ??

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    take a look into the html sources for “EnlighterJSRAW” – these are the wrapper elements containing the sourcecode. the whole “content” of your page is wrapped into a single line without linebreaks.

    normally this is an effect of caching plugins / theme settings / page builders.

    did you tried Enlighter with a “clean” WordPress setup with the standard themes ?

    —–

    btw. i’ve seen such issues very often…therefore i’m pretty sure its not a general Enlighter issue

    Thread Starter colognehosting

    (@colognehosting)

    Hi,

    ok, maybe it is the theme, i try to check that with a clear test WP. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No Line Breaks’ is closed to new replies.