Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. Code highlighting broken
Qt 6.11 is out! See what's new in the release blog

Code highlighting broken

Scheduled Pinned Locked Moved Qt.io webservices
6 Posts 3 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #1

    Hi,

    -It seems that code highlighting is broken at the moment. Perhaps as a side effect from the updates yesterday?-

    Seems to just work again. No idea what was wrong.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      Test
      @
      int main()
      {
      char *a;
      a = new char;
      delete a;
      return 0;
      }
      @
      All looks good for me.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        You are right, now I do get highlighting again. Weird. I swear I got pages without highlighting, but with code tags just before I posted...

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          The actual syntax highlighting is performed in your browser ( http://alexgorbatchev.com/SyntaxHighlighter/ ) so it's prone to a some more factors than sending the fully formatted HTML right away. Hopefully it shouldn't fail often though.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            What does fail, is that even inside code sections, the system tries to replace certain combinations of symbols with smilies. See for instance here:
            http://developer.qt.nokia.com/forums/viewreply/21423/

            Notice the smiley-code at line 6 of the code section posted by imrrk

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              [quote author="Andre" date="1295872018"]What does fail, is that even inside code sections, the system tries to replace certain combinations of symbols with smilies. See for instance here:
              http://developer.qt.nokia.com/forums/viewreply/21423/

              Notice the smiley-code at line 6 of the code section posted by imrrk[/quote]

              Thanks Andre, we hope to have that fixed in the next roll-out.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt
              • Unsolved