Spurious <pre> tag sometimes appears inside <pre> tags
Site Bugs / Suggestions
1
Posts
1
Posters
7
Views
1
Watching
-
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