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. Spurious <pre> tag sometimes appears inside <pre> tags

Spurious <pre> tag sometimes appears inside <pre> tags

Scheduled Pinned Locked Moved Site Bugs / Suggestions
csshelp
1 Posts 1 Posters 7 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.
  • K Offline
    K Offline
    k5054
    wrote on last edited by
    #1

    Occasionally I've noticed that I get a spurious <pre> tag inserted into forum posts: eg You can see that there's a <pre> tag inserted in the preview, and remains after submitting. If I remove the blank lines between the two for loops, the <pre> tag goes away The indent as displayed is 4 chars for the second for loop. Reducing it to 3 or less solves the issue The "<<" after std::cout also seems to part of the picture. Replacing the stream output operator with << also resolves the issue.

    "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

    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