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. Quick Answer formatting

Quick Answer formatting

Scheduled Pinned Locked Moved Site Bugs / Suggestions
help
10 Posts 5 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.
  • S Offline
    S Offline
    sjelen
    wrote on last edited by
    #1

    When I'm signed out code formatting in preview works OK, but when I sign-in it stops working:

    var x = GetX();

    Does anyone else have this problem. Tried both FireFox and Chrome.

    L C 2 Replies Last reply
    0
    • S sjelen

      When I'm signed out code formatting in preview works OK, but when I sign-in it stops working:

      var x = GetX();

      Does anyone else have this problem. Tried both FireFox and Chrome.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Move your mouse to hover over your name at the top right of the window. Click on "My settings", select the "Forums" tab and see if Treat my content as plain text, not as HTML is checked.

      Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

      L S 2 Replies Last reply
      0
      • L Lost User

        Move your mouse to hover over your name at the top right of the window. Click on "My settings", select the "Forums" tab and see if Treat my content as plain text, not as HTML is checked.

        Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

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

        Is is at all possible to edit/compose something here while not being logged in? :confused:

        Luc Pattyn [My Articles] Nil Volentibus Arduum

        L 1 Reply Last reply
        0
        • L Luc Pattyn

          Is is at all possible to edit/compose something here while not being logged in? :confused:

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I didn't think so, maybe I should try sometime.

          Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

          A 1 Reply Last reply
          0
          • L Lost User

            I didn't think so, maybe I should try sometime.

            Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #5

            Looks like you can compose a quick answers question when you are logged out. If you click "Submit your question", you will see a message that says "Please log in (or quickly sign up) to post". Though, the preview works fine for me logged in or logged out. Either way, PRE tags show up fine. I wonder if the OP is pasting the text and it's automatically HTML encoding it?

            Thou mewling ill-breeding pignut!

            L 1 Reply Last reply
            0
            • A AspDotNetDev

              Looks like you can compose a quick answers question when you are logged out. If you click "Submit your question", you will see a message that says "Please log in (or quickly sign up) to post". Though, the preview works fine for me logged in or logged out. Either way, PRE tags show up fine. I wonder if the OP is pasting the text and it's automatically HTML encoding it?

              Thou mewling ill-breeding pignut!

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              AspDotNetDev wrote:

              I wonder if the OP is pasting the text and it's automatically HTML encoding it?

              See my first answer. I see lots of questions and answers which are not formatted properly, but if I use the "Improve ..." link it automatically gets formatted without me having to change anything, simply (I believe) because my profile's default setting is not to treat text as plain.

              Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

              C 1 Reply Last reply
              0
              • L Lost User

                Move your mouse to hover over your name at the top right of the window. Click on "My settings", select the "Forums" tab and see if Treat my content as plain text, not as HTML is checked.

                Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

                S Offline
                S Offline
                sjelen
                wrote on last edited by
                #7

                Thanks, that was the problem.

                1 Reply Last reply
                0
                • L Lost User

                  AspDotNetDev wrote:

                  I wonder if the OP is pasting the text and it's automatically HTML encoding it?

                  See my first answer. I see lots of questions and answers which are not formatted properly, but if I use the "Improve ..." link it automatically gets formatted without me having to change anything, simply (I believe) because my profile's default setting is not to treat text as plain.

                  Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

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

                  The format gets updated automatically because when we load a question for editing we do

                  if (forceToHtml && format = textWithHtml)
                  format = Html;

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

                  L 1 Reply Last reply
                  0
                  • C Chris Maunder

                    The format gets updated automatically because when we load a question for editing we do

                    if (forceToHtml && format = textWithHtml)
                    format = Html;

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

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    And is an excellent feature, IMHO.

                    Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

                    1 Reply Last reply
                    0
                    • S sjelen

                      When I'm signed out code formatting in preview works OK, but when I sign-in it stops working:

                      var x = GetX();

                      Does anyone else have this problem. Tried both FireFox and Chrome.

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

                      I've made a change so you no longer need to fix your profile settings. We disabled the ability to post in text-only mode (we now always accept HTML), but old profile settings were overriding this.

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

                      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