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. bug in html line feeds in article editor

bug in html line feeds in article editor

Scheduled Pinned Locked Moved Site Bugs / Suggestions
htmlcomhelptutorialquestion
10 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.
  • C Offline
    C Offline
    Christophe Bertrand
    wrote on last edited by
    #1

    Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:

    <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

    Then I press twice on "HTML" button/link, the code is wrongly transformed as:

    <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

    Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you

    M C 2 Replies Last reply
    0
    • C Christophe Bertrand

      Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:

      <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

      Then I press twice on "HTML" button/link, the code is wrongly transformed as:

      <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

      Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #2

      The article HTML editor is known as being buggy. It's recommended to write your article in Visual Studio or whatever your preferred HTML editor is and then send it (with all files included and zipped) to submit@codeproject.com

      I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

      C 1 Reply Last reply
      0
      • M Marco Bertschi

        The article HTML editor is known as being buggy. It's recommended to write your article in Visual Studio or whatever your preferred HTML editor is and then send it (with all files included and zipped) to submit@codeproject.com

        I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

        C Offline
        C Offline
        Christophe Bertrand
        wrote on last edited by
        #3

        I Wonder how editors will treat an archive containing multiple images and distributable archives.. :) I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :) Personaly, I just lost two hours with this small line-feed problem, and I about to throw my update to the nearest dustbin and forget all this. :rolleyes: Thank you for your suggestion, I will probably do that in the end (when I'm out of patience). ;)

        M 1 Reply Last reply
        0
        • C Christophe Bertrand

          I Wonder how editors will treat an archive containing multiple images and distributable archives.. :) I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :) Personaly, I just lost two hours with this small line-feed problem, and I about to throw my update to the nearest dustbin and forget all this. :rolleyes: Thank you for your suggestion, I will probably do that in the end (when I'm out of patience). ;)

          M Offline
          M Offline
          Marco Bertschi
          wrote on last edited by
          #4

          Christophe Bertrand wrote:

          I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :)

          Maybe that needs to happen until they fix the damn editor.

          I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

          C 1 Reply Last reply
          0
          • M Marco Bertschi

            Christophe Bertrand wrote:

            I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :)

            Maybe that needs to happen until they fix the damn editor.

            I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

            C Offline
            C Offline
            Christophe Bertrand
            wrote on last edited by
            #5

            Somebody suggested I should replace all br by ordinary line feeds in pre blocks. That seems true in html. That is something I forgot completely. Problem is neither Kompozer, Blue Griffon nor this site'editor respect this rule. Maybe Dreamweaver does, but at what price ??? X| I am not sure I will change all my code by hand. This update will wait.. maybe for a long time.

            M 1 Reply Last reply
            0
            • C Christophe Bertrand

              Somebody suggested I should replace all br by ordinary line feeds in pre blocks. That seems true in html. That is something I forgot completely. Problem is neither Kompozer, Blue Griffon nor this site'editor respect this rule. Maybe Dreamweaver does, but at what price ??? X| I am not sure I will change all my code by hand. This update will wait.. maybe for a long time.

              M Offline
              M Offline
              Marco Bertschi
              wrote on last edited by
              #6

              Nothing to worry about anymore, see my email and the comment at the bottom of the freshly released article. Again: The Editor sucks really bad, and you better use an ordinary HTML editor the next time you try to update your article - Code blocks are a real PITA to format with the cripple.

              I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

              C 1 Reply Last reply
              0
              • M Marco Bertschi

                Nothing to worry about anymore, see my email and the comment at the bottom of the freshly released article. Again: The Editor sucks really bad, and you better use an ordinary HTML editor the next time you try to update your article - Code blocks are a real PITA to format with the cripple.

                I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

                C Offline
                C Offline
                Christophe Bertrand
                wrote on last edited by
                #7

                Thank you, I replied on the article page. This little bug will make me hesitate next time I want to update or create an article.

                M 1 Reply Last reply
                0
                • C Christophe Bertrand

                  Thank you, I replied on the article page. This little bug will make me hesitate next time I want to update or create an article.

                  M Offline
                  M Offline
                  Marco Bertschi
                  wrote on last edited by
                  #8

                  I told you: Download the HTML, and the send the updated HTML to submit@codeproject.com. They will need to do it by hand until they fix the cripple. Until very recently there was a bug in it which made the article you are editing vanish, in an unrevocerable way.

                  I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

                  1 Reply Last reply
                  0
                  • C Christophe Bertrand

                    Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:

                    <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

                    Then I press twice on "HTML" button/link, the code is wrongly transformed as:

                    <pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>

                    Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you

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

                    This seems to be a new bug. I encountered this myself on the weekend while using Firefox. I'll dig in and see what's happening.

                    cheers Chris Maunder

                    M 1 Reply Last reply
                    0
                    • C Chris Maunder

                      This seems to be a new bug. I encountered this myself on the weekend while using Firefox. I'll dig in and see what's happening.

                      cheers Chris Maunder

                      M Offline
                      M Offline
                      Marco Bertschi
                      wrote on last edited by
                      #10

                      It's gonna mess your formatting up, that's gonna happen. It seems like codeblocks can't really handle line breaks.

                      I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

                      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