Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8617

Stop using HTML script tags to mark up visible code.

    XMLWordPrintable

Details

    Description

      I was using Chrome to read this page:

      https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

      It told me I should use another browser to copy the code, because Chrome (and Opera) inserts non-breaking space characters. I opened Firefox and directed it to the page, and found only a gray squiggly line where the code should have been. Viewing the source, I was able to copy the code.

      From the W3C:

      The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user.

      http://www.w3.org/TR/html5/scripting-1.html#the-script-element

      Please stop using script tags this way! So far I think Safari and Internet Explorer are the only two major browsers that might still do want you intend, and I hate using both of them.

      Attachments

        Activity

          People

            93e1e5ba154a aiiie
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: