• Resolved gregrob

    (@gregrob)


    I noticed that when I have blank lines between lines of code, the blank lines displays fine on Chrome, but the lines are not shown on Edge. To fix this if I add a space at the beginning of the blank line, the blank line shows correctly on Edge. On the sample page, https://www.mssqltips.com/sqlservertip/7335/sql-delete-statement-examples-coding-best-practices/, you can see the second code block that starts with USE AdventureWorks there should be a blank line between the GO line and the –A) CREATE TABLE line. If renders fine in Chrome but not Edge.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi @gregrob, glad to help. I wonder if you might be using Edge on Windows? I ask because I tested both Chrome and Edge on macOS and blank lines are displayed normally. Here are a couple of sites where I use Prismatic for code escaping. No extra characters added, line breaks and blank lines appear as intended.

    Thread Starter gregrob

    (@gregrob)

    Hi Jeff, yes I am using Windows. I went to the prism.js site and tested the code on Edge and Chrome on Windows and that works fine. So, not sure if there is something with the plugin or something else that is causing the issue on our site. Any help is greatly appreciated.

    Plugin Author Jeff Starr

    (@specialk)

    Just to be clear, you are visiting the site on Windows, not serving the site on Windows (IIS), correct?

    Thread Starter gregrob

    (@gregrob)

    Yes that is correct. Just using Windows for the browser.

    Plugin Author Jeff Starr

    (@specialk)

    Thanks. I’m not sure it is a Windows issue specifically. When viewing your “USE” example code on macOS Chrome, there is no blank line shown. So I am guessing the issue may be due to something else happening on site. I would set up a new/test WP site, leave everything at defaults (theme, plugin, settings). Then install only Prismatic and repeat the test code. I tried this on macOS and added your “USE” SQL code, and blank lines were displayed normally.

    Thread Starter gregrob

    (@gregrob)

    Thanks Jeff. I am pretty sure it is probably related to the theme we are using. I will give it a shot and let you know.

    Plugin Author Jeff Starr

    (@specialk)

    Hey @gregrob, I hope you got this sorted. It’s been a while with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Blank Lines Edge vs Chrome’ is closed to new replies.