|
Hi Davey,
I waited for the afternoon before replying to you message.
Yes, there (still) are weird things going on with PRE tags.
Yesterday (working on this[^]) I tried to get the first and last line marked special, either colored red by adding a <span style='emphasis'>, or bolded with <b>, and that worked well for the first line and failed for the last one.
I once read a message claiming only every second TAG pair works inside PRE; not sure about that though.
Also the linecount trick does not always work. And then there is the default language issue.
|
|
|
|
|
I hadn't noticed it before, but then I haven't been as active as normal here for the last few weeks - been overloaded at work
I wonder how they've managed to introduce a bug into something that's worked perfectly for eons?... probably something to do with tweaks for Q&A.
I'm sure Chris and the boys/girls will sort it
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
I'm not sure it ever worked correctly. For a long time I was assuming tags were not allowed inside PRE/CODE blocks. I do remember the following changes in the last couple of years:
- handle empty lines
- syntax coloring added
- process smileys (almost) correctly
- added linecount='on' (on my suggestion)
So if some bug got introduced, I guess it was while implementing one of the above.
BTW: there also is a "comments and string literals coloring" anomaly.
I tested more thoroughly when I recently decided to put more and more info in my "use PRE tags" T&T
|
|
|
|
|
This is actually an old bug. If you don't put quotes around the "text" in
<pre lang="text" it can fail.
It's on the list.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Ah... cool. I never have put quotes around them, I'm not sure why! It makes sense to create valid html when using characters instead of/as well as numeric values.
Is there a list of allowed attributes we can add in to the various supported tags anywhere?
(Thanks for fixing the post!)
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
To test what was going on with the digital-clipart.de site, I created a new user via the site, and posted a message - all worked ok, which is a bit odd. Please delete the new account "JustATest, really", if you would be so kind!
All those who believe in psycho kinesis, raise my hand.
|
|
|
|
|
Why? evryone could use such an account, provided you publish the password.
|
|
|
|
|
Brilliant! We could give CSS a new identity. Hang on, linked my one of MY email accounts... I see a small snag here.
All those who believe in psycho kinesis, raise my hand.
|
|
|
|
|
That would be an interesting experiment. Wonder what would happen if a username and password were posted to the Lounge. I'm guessing it would be deleted by Chris and his team. If not out of principle, then because of the incredible spamming the account would be used for. Unless somebody up and decided to change the password, thereby locking in the account as their own.
|
|
|
|
|
If Me.IsWondering then iGoogle() Or iTry()
|
|
|
|
|
|
No, I don't need language to think, I only need it to communicate.
And then I choose the one that fits the situation; sometimes Me sounds better than this.
|
|
|
|
|
Luc Pattyn wrote: No, I don't need language to think
Based on the Language, Thought, and Culture class I took back in college, language may indeed be required for thought.
|
|
|
|
|
No it isn't, unless you drastically redefine "language". Language to me is a set of conventions shared by two or (probably many) more people so they can communicate. I don't need that to think, in fact thinking by language would needlessly slow down most thoughts.
Not proof, however some indication:
- do you take notes (words, symbols, drawings) nobody understands? do you doodle?
- are you ever searching for a word? doesn't that tell you you have a thought and don't now right away how to communicate it? (yes, you could describe it in a sentence, but that is not how the brain works, it does not wait for the right word)
- how does a language get new words?
|
|
|
|
|
I'll save further discussion on this for the Lounge.
|
|
|
|
|
|
Interesting.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
why do I have this picture of you with a white cat on your lap now?
|
|
|
|
|
As we speak there are plane loads of hamsters with frickin' laser beams attached to their heads in bound for Germany ...
10110011001111101010101000001000001101001010001010100000100000101000001000111100010110001011001011
|
|
|
|
|
Is that a scam or something? Why are they mirroring the whole site?
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Yeah I'm back with the pins but it's a different one now
When pinning a sticky post the background of the pin icon isn't drawn in yellow as the sticky's background is.
It's drawn in the blueish color as if it was a normal post.
|
|
|
|
|
Finally found the time to fix this one. Will update the code tomorrow.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Lol I had almost given up on this one
Nice work now get back to those other 3098 todo's
|
|
|
|
|
Reputation graphs don't seem to be displaying right now. Tried mine and some other member's. Just shows the little circular progress bar for a second, then a white image.
|
|
|
|
|
Fixed.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|