Lorian Posted September 4, 2005 Report Share Posted September 4, 2005 Around here you see a lot of spaced out BB code (Eg. [ b ]). I think we should be able to use escape characters, so we don't have to use the spaces. Good idea? Quote Link to comment Share on other sites More sharing options...
Argalius Posted September 4, 2005 Report Share Posted September 4, 2005 I don't get it, what do you mean by excape characters? Quote Link to comment Share on other sites More sharing options...
Centurion_13 Posted September 4, 2005 Report Share Posted September 4, 2005 a character you put in front of some code (in this case a bb tag) which tells the procesor not to process that part essentially making it similar to the code tags except only for a single tag and without all the highlighting etc. Quote Link to comment Share on other sites More sharing options...
Lorian Posted September 4, 2005 Author Report Share Posted September 4, 2005 You are obviously not a programmer Argalius Here is an example in PHP:echo "some text with "double" quote";Would give a parse errorecho "some text with \"double\" quote";Would output:some text with "double" quote Quote Link to comment Share on other sites More sharing options...
Argalius Posted September 4, 2005 Report Share Posted September 4, 2005 Ok, now I get it, I so this method in a php file once I didn't understand why it was used though, just copied it. Quote Link to comment Share on other sites More sharing options...
Lorian Posted September 4, 2005 Author Report Share Posted September 4, 2005 Well now you know It gets rather irritating though, when you are writing/reading stuff in real life and you see un-escaped quote characters Quote Link to comment Share on other sites More sharing options...
DarkAngelBGE Posted September 28, 2005 Report Share Posted September 28, 2005 How about [\b]This is escaped BB code[\/b] ? Quote Link to comment Share on other sites More sharing options...
Lorian Posted September 28, 2005 Author Report Share Posted September 28, 2005 Sound good, except it should remove the extranious slashes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.