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. HTML in subject

HTML in subject

Scheduled Pinned Locked Moved Site Bugs / Suggestions
htmldatabasecomhelp
8 Posts 2 Posters 4 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.
  • D Offline
    D Offline
    David Wengier
    wrote on last edited by
    #1

    When you enter HTML in the edit box for the text, it is HTMLEncode'd when it is displayed for edit. so < is in the source as &lt; and IE renders that in the dialog box as < correctly. However, the subject doesn't HTMLEncode, so a < entered is left in the source as < which renders in the edit box in IE as < and unless you pay attention and change it when you edit, will make whatever you are trying to do disappear. Thank you for reading this bug report/HTML lesson :) okay, so i am bored ------------ EDIT: In summary of everything below, it is probably a good idea to merely disable HTML in subjects, and just HTMLEncode the whole thing before it is put in the DB :) -- David Wengier Sonork ID: 100.14177 - Ch00k

    N 2 Replies Last reply
    0
    • D David Wengier

      When you enter HTML in the edit box for the text, it is HTMLEncode'd when it is displayed for edit. so < is in the source as &lt; and IE renders that in the dialog box as < correctly. However, the subject doesn't HTMLEncode, so a < entered is left in the source as < which renders in the edit box in IE as < and unless you pay attention and change it when you edit, will make whatever you are trying to do disappear. Thank you for reading this bug report/HTML lesson :) okay, so i am bored ------------ EDIT: In summary of everything below, it is probably a good idea to merely disable HTML in subjects, and just HTMLEncode the whole thing before it is put in the DB :) -- David Wengier Sonork ID: 100.14177 - Ch00k

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

      The subject takes tags directly. In fact you can't use HTML in the subject Nish

      My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

      N D 2 Replies Last reply
      0
      • D David Wengier

        When you enter HTML in the edit box for the text, it is HTMLEncode'd when it is displayed for edit. so < is in the source as &lt; and IE renders that in the dialog box as < correctly. However, the subject doesn't HTMLEncode, so a < entered is left in the source as < which renders in the edit box in IE as < and unless you pay attention and change it when you edit, will make whatever you are trying to do disappear. Thank you for reading this bug report/HTML lesson :) okay, so i am bored ------------ EDIT: In summary of everything below, it is probably a good idea to merely disable HTML in subjects, and just HTMLEncode the whole thing before it is put in the DB :) -- David Wengier Sonork ID: 100.14177 - Ch00k

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

        Amazing!!!!!!!!!! I entered some tags in the other post's subject and now I cant edit it nor see it :(( Nish

        My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

        D 1 Reply Last reply
        0
        • N Nish Nishant

          Amazing!!!!!!!!!! I entered some tags in the other post's subject and now I cant edit it nor see it :(( Nish

          My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

          D Offline
          D Offline
          David Wengier
          wrote on last edited by
          #4

          Modify your post :) -- David Wengier Sonork ID: 100.14177 - Ch00k

          N 1 Reply Last reply
          0
          • D David Wengier

            Modify your post :) -- David Wengier Sonork ID: 100.14177 - Ch00k

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

            Thanks I'll try the link out :-) Nish p.s I made a similar lounge post too, just to test :-)

            My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

            1 Reply Last reply
            0
            • N Nish Nishant

              The subject takes tags directly. In fact you can't use HTML in the subject Nish

              My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

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

              for confused people this post was first uneditable :-) Now david has helped fix it up :-) Nish

              My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

              1 Reply Last reply
              0
              • N Nish Nishant

                The subject takes tags directly. In fact you can't use HTML in the subject Nish

                My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

                D Offline
                D Offline
                David Wengier
                wrote on last edited by
                #7

                Nish [BusterBoy] wrote: you can't use HTML Would you care to reconsider that now? ;P :laugh: -- David Wengier Sonork ID: 100.14177 - Ch00k

                N 1 Reply Last reply
                0
                • D David Wengier

                  Nish [BusterBoy] wrote: you can't use HTML Would you care to reconsider that now? ;P :laugh: -- David Wengier Sonork ID: 100.14177 - Ch00k

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

                  David Wengier wrote: Would you care to reconsider that now? I am havin a bad day today... :-) Nish

                  My miniputt high is now 29 I do not think I can improve on that My temperament won't hold www.busterboy.org

                  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