d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Html Escape Character?
Add Reply New Topic New Poll
Member
Posts: 2,660
Joined: Sep 20 2003
Gold: 1,500.00
Aug 12 2015 06:53pm
On this forum, there is a user who obviously registered his \her name before the strict character rules were in effect.
Thus, the are brackets in the name, making quoting impossible using the included web macro button.

How should I edit the string to accurately quote The user?

Code
[URL]http://forums.d2jsp.org/user.php?i=244016[/URL]


E:
I guess nesting html arguments are also not allowed...
http://forums.d2jsp.org/user.php?i=244016

E: e:
Arguments are not the correct term... Flame?

This post was edited by Gothmog_Lord_of_Balrogs on Aug 12 2015 06:59pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Aug 12 2015 07:23pm
looks like the bbcode is the problem? just remove the [

if you dont wanna manually delete it every time, you can write a greasemonkey script to do it for you.

This post was edited by carteblanche on Aug 12 2015 07:26pm
Member
Posts: 2,660
Joined: Sep 20 2003
Gold: 1,500.00
Aug 12 2015 09:42pm
Quote
Code
x]FoRsaKeN[x,Aug 12 2015 07:53pm

Forsaken's name contains brackets. How, I know not why. Point is, it ducks up the phpBBb code and needs to be escaped. However, I was not able to find any sort of escape character, (perhaps non printable characters..)

I did find that the strings are escaped,
Only within ...


Code
tags.


And so, in order to 'quote' a user whose name contains a "[" or "]", one must nest the CODE tag within the QUOTE




[/code]
x]FoRsaKeN[x
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll