Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Article markup completely messed up. Preview and edit mode is fine, though

Article markup completely messed up. Preview and edit mode is fine, though

Scheduled Pinned Locked Moved Site Bugs / Suggestions
csharpannouncementhtmlwpfcom
6 Posts 3 Posters 0 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.
  • P Offline
    P Offline
    Philipp Sumi
    wrote on last edited by
    #1

    I slightly modified the intro text in my upcoming WPF NotifyIcon article. Preview was fine, but since publishing it, the code/markup samples are completely messed up (the formatting markup is rendered): WPF NotifyIcon[^] However, going back to edit mode shows me the regular contents again and preview is fine, too. Saving again switches back to the messed up markup. Edit: Also formatted keywords are affected. Here's how the version number in the History section is being displayed:

    "code-digit">1."code-digit">0."code-digit">1 - Initial CodeProject release

    Another observation: If I just look at the "latest" version of the article in the history, it renders just fine, too: http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=36468&av=0[^] Could you have a look at it asap? Cheers, Philipp

    NetDrives - Open Source Network Share Management Awesomeness

    modified on Monday, May 25, 2009 11:31 AM

    N C 2 Replies Last reply
    0
    • P Philipp Sumi

      I slightly modified the intro text in my upcoming WPF NotifyIcon article. Preview was fine, but since publishing it, the code/markup samples are completely messed up (the formatting markup is rendered): WPF NotifyIcon[^] However, going back to edit mode shows me the regular contents again and preview is fine, too. Saving again switches back to the messed up markup. Edit: Also formatted keywords are affected. Here's how the version number in the History section is being displayed:

      "code-digit">1."code-digit">0."code-digit">1 - Initial CodeProject release

      Another observation: If I just look at the "latest" version of the article in the history, it renders just fine, too: http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=36468&av=0[^] Could you have a look at it asap? Cheers, Philipp

      NetDrives - Open Source Network Share Management Awesomeness

      modified on Monday, May 25, 2009 11:31 AM

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Your problem is you have used a lot of <span> tags inside your pre-block sections. The pre-block should contain text (and only text). The CP backend code will syntax colorize your code for you.

      Regards, Nish


      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
      My latest book : C++/CLI in Action / Amazon.com link

      P 1 Reply Last reply
      0
      • P Philipp Sumi

        I slightly modified the intro text in my upcoming WPF NotifyIcon article. Preview was fine, but since publishing it, the code/markup samples are completely messed up (the formatting markup is rendered): WPF NotifyIcon[^] However, going back to edit mode shows me the regular contents again and preview is fine, too. Saving again switches back to the messed up markup. Edit: Also formatted keywords are affected. Here's how the version number in the History section is being displayed:

        "code-digit">1."code-digit">0."code-digit">1 - Initial CodeProject release

        Another observation: If I just look at the "latest" version of the article in the history, it renders just fine, too: http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=36468&av=0[^] Could you have a look at it asap? Cheers, Philipp

        NetDrives - Open Source Network Share Management Awesomeness

        modified on Monday, May 25, 2009 11:31 AM

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        All fixed. Sorry bout that

        cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

        P 1 Reply Last reply
        0
        • C Chris Maunder

          All fixed. Sorry bout that

          cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

          P Offline
          P Offline
          Philipp Sumi
          wrote on last edited by
          #4

          No harm done - thx for the fast reply :)

          NetDrives - Open Source Network Share Management Awesomeness

          1 Reply Last reply
          0
          • N Nish Nishant

            Your problem is you have used a lot of <span> tags inside your pre-block sections. The pre-block should contain text (and only text). The CP backend code will syntax colorize your code for you.

            Regards, Nish


            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
            My latest book : C++/CLI in Action / Amazon.com link

            P Offline
            P Offline
            Philipp Sumi
            wrote on last edited by
            #5

            Nish, It appears to me the span-tags came from the script that applies syntax-highlighting. But it's fixed now - cheers :)

            NetDrives - Open Source Network Share Management Awesomeness

            N 1 Reply Last reply
            0
            • P Philipp Sumi

              Nish, It appears to me the span-tags came from the script that applies syntax-highlighting. But it's fixed now - cheers :)

              NetDrives - Open Source Network Share Management Awesomeness

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #6

              Ah okay - I had not realized that.

              Regards, Nish


              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
              My latest book : C++/CLI in Action / Amazon.com link

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups