GilesGuthrie
Staff Emeritus
- 11,038
- Edinburgh, UK
- CMDRTheDarkLord
Hi J,
This is the feedback bit
There's an interesting artefact in the way GTP handles smilies. Quite often, I want to add a smilie during the course of a sentence that isn't part of the sentence, kind of like "Oh God, what's he on about now
".
Now, I want to put the smilie into brackets, because it doesn't belong in the sentence, because it's not me (the sentence writer) that's rolling their eyes, it's the person viewing the sentence.
But here's the rub:
If I put a bracket, then the rolleyes code, then another bracket (I have to write this longhand, because I can't get it not to process), I get (
), which isn't what I want!
I want (
), only without the spaces.
Now for the suggestion
If the forum processes smilies like I think it does, it parses the text, and turns the smilie code into an IMG tag. I figure it has to read the text and test for each smilie in turn, replacing each code as it finds it.
The feedback then is to alter the ordering of the smilie processing, so that the simple
is the last one to be searched for, so that by the time the routine is searching for colon-bracket, the colon is away, replaced by the rolleyes smilie. This would mean that the smilies in parentheses are handled correctly.
As always, feel free to ignore me.
This is the feedback bit
There's an interesting artefact in the way GTP handles smilies. Quite often, I want to add a smilie during the course of a sentence that isn't part of the sentence, kind of like "Oh God, what's he on about now
Now, I want to put the smilie into brackets, because it doesn't belong in the sentence, because it's not me (the sentence writer) that's rolling their eyes, it's the person viewing the sentence.
But here's the rub:
If I put a bracket, then the rolleyes code, then another bracket (I have to write this longhand, because I can't get it not to process), I get (
I want (
Now for the suggestion
If the forum processes smilies like I think it does, it parses the text, and turns the smilie code into an IMG tag. I figure it has to read the text and test for each smilie in turn, replacing each code as it finds it.
The feedback then is to alter the ordering of the smilie processing, so that the simple
As always, feel free to ignore me.