I know you guys have working on the "on" problem. I can now create it consistently.
Take the example of the
t pre
tag.
If I something like this:
t pre
one
t /pre
no problem:
But the following verse which is wrapped in "pre" tags:
1) This old man.
2) He played .
3) He played knicknack on my thumb..
Note that the "one" on the second line of the verse poofs, but he "on" third does not.
Only the first instance gets stripped.
I don't have your stripping code to debug. But I think this info may give you a clue as to what is going wrong. It is a lot easier to find a solution when you can define with some precision what the problem is.
I think it may also have something to do with preceding the "on" word with a space.
This forum looks awesome, thanks. Another one for me to become addicted to, YAY!
Whee! Looks good, folks.
Minor cosmetic suggestion -- I'm wondering if maybe the text-entry box should be centered? What do people think?
The text entry box, and the instructions above it, and the "post message" button, should all be left-aligned in the middle column. Maybe even above the invisible asterisks.
Left-aligned in the center column is a better idea than centering, yes. And perhaps the two lines of information about the box could be separated by a "br" rather than a "p."
If it's just HTML, I may have some time to code if needed.
I'm just wondering, if you have the time to say, why are there white-fonted asterisks instead of a collection of s?
Oooh. Secret asterisks. it's like the prize at the bottom of the CrackerJacks!
I'm just wondering, if you have the time to say, why are there white-fonted asterisks instead of a collection of s?
You'll have to wait for Jon to return to get an answer. I'm pretty sure they're there to help get one browser or another (probably Netscape) to display the page properly when there are no full lines of text on the page.
Yes -- it's for table width. It used to be a sentence. Spaces wouldn't have the same effect.
Message Centre (sorry, I physically can't spell it the American way)
Just want it noted that I've been spelling it the UnAmerican way, but not necessarily calling attention to it...
why are there white-fonted asterisks instead of a collection of s?
Jon explained this to me but it made my head hurt. That bit is only there to guard about strange wrapping, in Netscape, for threads with
no
posts in them, or something.
And in response to Gar's
the "one" on the second line of the verse poofs, but he "on" third does not
did my fix not sort that out, ita, or didn't it get put in yet?
The code, Gar, is
HTML-opening-bracket, some stuff, a space, a word beginning with on, some more stuff until an HTML-closing-bracket
What happens is that this:
<pre>something one something</pre>
gets read as if the "one" is between the red brackets, which technically it is, but that wasn't the intention of the code. We need to make the "some more stuff until an HTML-closing-bracket" portion of the regex change to "ome more stuff until the
next
HTML-closing-bracket", which should fix it.
I think we can fix it up