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. "Ignore HTML in text (good for code snippets)" automatically being set

"Ignore HTML in text (good for code snippets)" automatically being set

Scheduled Pinned Locked Moved Site Bugs / Suggestions
htmlannouncement
9 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.
  • R Offline
    R Offline
    Rod Kemp
    wrote on last edited by
    #1

    I have just been trying to post an answer under quick answers and everytime I click on "Update Answer" the "Ignore HTML in text (good for code snippets)" check box gets set. I clear the check box, preview everything then update the answer, tags show, go to edit the answer and the damn "Ignore HTML in text (good for code snippets)" check box is again checked.

    L 1 Reply Last reply
    0
    • R Rod Kemp

      I have just been trying to post an answer under quick answers and everytime I click on "Update Answer" the "Ignore HTML in text (good for code snippets)" check box gets set. I clear the check box, preview everything then update the answer, tags show, go to edit the answer and the damn "Ignore HTML in text (good for code snippets)" check box is again checked.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      at one time, the user was in control of those checkboxes when creating a new message, but not when re-entering the message editor page for editing the message (they would then default to how they were when the original editor page was exited). And the default state is also available on your settings page, under the forums tag. Hope that helps.

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


      R 1 Reply Last reply
      0
      • L Luc Pattyn

        at one time, the user was in control of those checkboxes when creating a new message, but not when re-entering the message editor page for editing the message (they would then default to how they were when the original editor page was exited). And the default state is also available on your settings page, under the forums tag. Hope that helps.

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


        R Offline
        R Offline
        Rod Kemp
        wrote on last edited by
        #3

        unfortunately/strangely it has only happened for one message so far. I wrote the message, previewed it, all looked right, then posted it and :omg: all the tags are showing, so I checked all my settings and they were fine. It would also appear that I'm not the only person this has happened to.[^]

        L 1 Reply Last reply
        0
        • R Rod Kemp

          unfortunately/strangely it has only happened for one message so far. I wrote the message, previewed it, all looked right, then posted it and :omg: all the tags are showing, so I checked all my settings and they were fine. It would also appear that I'm not the only person this has happened to.[^]

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Well, I think I had that happen to me too, once, when editing an article in the Article Submission Wizard. But then it is hard to repeat or to proof, so ... BTW: CP has new technology in beta that probably will render that checkbox totally obsolete. They call it "CodeSniff". :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


          modified on Sunday, January 17, 2010 8:43 PM

          R C 2 Replies Last reply
          0
          • L Luc Pattyn

            Well, I think I had that happen to me too, once, when editing an article in the Article Submission Wizard. But then it is hard to repeat or to proof, so ... BTW: CP has new technology in beta that probably will render that checkbox totally obsolete. They call it "CodeSniff". :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


            modified on Sunday, January 17, 2010 8:43 PM

            R Offline
            R Offline
            Rod Kemp
            wrote on last edited by
            #5

            Just file it under; It's very rare, It happens, It's more of an annoyance than a real "problem". :)

            C 1 Reply Last reply
            0
            • R Rod Kemp

              Just file it under; It's very rare, It happens, It's more of an annoyance than a real "problem". :)

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

              My favourite form of bug.

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

              1 Reply Last reply
              0
              • L Luc Pattyn

                Well, I think I had that happen to me too, once, when editing an article in the Article Submission Wizard. But then it is hard to repeat or to proof, so ... BTW: CP has new technology in beta that probably will render that checkbox totally obsolete. They call it "CodeSniff". :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


                modified on Sunday, January 17, 2010 8:43 PM

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

                Luc Pattyn wrote:

                CP has new technology in beta that probably will render that checkbox totally obsolete

                Not quite. The code sniffing code you so generously provided does wonders for pasting code but there remains the issue of what to do with text that contains < characters. If someone types in code, or pastes code inline instead of as a PRE block, then we still need to offer the option of treating the < character as a literal < and not as a tag marker. What the code sniff technology will remove is the "Encode HTML tags when pasting" checkbox, instead replacing it with 4 options (yes, not the 3 you initially expected ;)) Should be live in the afternoon.

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

                L 2 Replies Last reply
                0
                • C Chris Maunder

                  Luc Pattyn wrote:

                  CP has new technology in beta that probably will render that checkbox totally obsolete

                  Not quite. The code sniffing code you so generously provided does wonders for pasting code but there remains the issue of what to do with text that contains < characters. If someone types in code, or pastes code inline instead of as a PRE block, then we still need to offer the option of treating the < character as a literal < and not as a tag marker. What the code sniff technology will remove is the "Encode HTML tags when pasting" checkbox, instead replacing it with 4 options (yes, not the 3 you initially expected ;)) Should be live in the afternoon.

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

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #8

                  I'm looking forward to it all. :thumbsup:

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                  I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.


                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    Luc Pattyn wrote:

                    CP has new technology in beta that probably will render that checkbox totally obsolete

                    Not quite. The code sniffing code you so generously provided does wonders for pasting code but there remains the issue of what to do with text that contains < characters. If someone types in code, or pastes code inline instead of as a PRE block, then we still need to offer the option of treating the < character as a literal < and not as a tag marker. What the code sniff technology will remove is the "Encode HTML tags when pasting" checkbox, instead replacing it with 4 options (yes, not the 3 you initially expected ;)) Should be live in the afternoon.

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

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #9

                    Chris Maunder wrote:

                    Should be live in the afternoon

                    Maybe you should have put up a warning, as the behavior has changed; if I were to type PRE tags, then paste in the middle of them (that's what I use to do most of the time), I would no longer get what I expect... :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
                    [The QA section does it automatically now, when do we get it on regular forums?]


                    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