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. Angle brackets and quoting in code

Angle brackets and quoting in code

Scheduled Pinned Locked Moved Site Bugs / Suggestions
questionc++jsonhelpdiscussion
2 Posts 2 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
    Stuart Dootson
    wrote on last edited by
    #1

    Chris - after reading (yet another) C++ question where there were loads of lines like #include I had the following thought - why not make the default quoting just escape all < and > inside <code%gt; tags, rather than treating them as tags? It would help the people who don't have a clue (so don't realise that tagification will happen), and if you had an option that would still tagify inside <code>, that would suit the rest of us, who do have a clue (I hope I'm not being presumptious by including myself in that group). Hmmm - on second thoughts, that might not work so well - I looked back at the question that prompted this, and the guy didn't put his code in <code> tags anyway. Scratch that suggestion.

    P 1 Reply Last reply
    0
    • S Stuart Dootson

      Chris - after reading (yet another) C++ question where there were loads of lines like #include I had the following thought - why not make the default quoting just escape all < and > inside <code%gt; tags, rather than treating them as tags? It would help the people who don't have a clue (so don't realise that tagification will happen), and if you had an option that would still tagify inside <code>, that would suit the rest of us, who do have a clue (I hope I'm not being presumptious by including myself in that group). Hmmm - on second thoughts, that might not work so well - I looked back at the question that prompted this, and the guy didn't put his code in <code> tags anyway. Scratch that suggestion.

      P Offline
      P Offline
      PJ Arends
      wrote on last edited by
      #2

      That is an excellent suggestion, just extend it to disable HTML by default. Have it so the user has to select the HTML option rather then disable it.


      You may be right
      I may be crazy
      -- Billy Joel --

      Within you lies the power for good, use it!!!

      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