Author |
Message |
spottedhog
Regular


Joined: Jun 02, 2004
Posts: 88
|
Posted:
Tue Jul 06, 2004 9:52 am |
|
I am not sure why, but now I am not allowed to put html code into anything on my 7.3 install with 2.5 security and Sentinel 1.2
here is the code it will not accept:
Quote: | <a href="http://www.ravenphpscripts.com/"></a> |
Here is what I have in the AllowableHTML in the config.php file:
Quote: | $AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"H1"=>1,
"H2"=>1,
"H3"=>1,
"H4"=>1,
"span"=>1,
"center"=>1,
"code"=>1,
"img"=>2,
"alt"=>1,
"table"=>2,
"tr"=>2,
"td"=>2,
"p"=>2,
"div"=>2,
"font"=>2,
"p"=>1,
"ul"=>1); |
Each time now when I try to code in a link using the <a href, it will not let me do it..... in blocks or in the Tutorial module.... (that is all I tried it in) It lets me use i and b and br and p but not the a.......
What is the issue??????
thanks in advance..... |
|
|
|
 |
spottedhog

|
Posted:
Tue Jul 06, 2004 1:00 pm |
|
hmmmmm...... not sure what I did wrong, but I uploaded a clean mainfile.php from the 2.5 security patch and it will now allow the "a" html code...... hmmmmm...... |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Jul 06, 2004 1:07 pm |
|
It's the word script in ravenphpscripts. Try this insteadCode:http://ravenphp%73cripts.com
|
|
|
|
|
 |
spottedhog

|
Posted:
Tue Jul 06, 2004 6:13 pm |
|
geez...... color me stupid......  |
|
|
|
 |
Raven

|
Posted:
Tue Jul 06, 2004 7:09 pm |
|
|
|
 |
djw2
Regular


Joined: Sep 19, 2003
Posts: 95
Location: St. Louis, MO
|
Posted:
Sun Jul 11, 2004 12:27 pm |
|
Hey there,
I have a question about this that hopefully someone can clear up for me.
Raven, you said to use %73 in place of the s in the link, and this works perfectly.
My question is, the ISO Latin 1 character set shows a small s as & #115;... what's the difference?
I'm asking because I'm using the Sommaire menu and it doesn't accept apostrophes and I have to use & #39;. The problem is that every time I open the menu administration all the & #39;s convert to ' and I have to remember to change them back or it wipes out the entire menu. The %73 you use for the s never changes, when you go to administration it's always %73 and there's nothing to worry about.
I'd like to figure out a similar solution for the ' in Sommaire. Actually I'd like to fix Sommaire but... a similar solution will work for now.
Thanks a lot.
Dan |
_________________ It has become appallingly obvious that our technology has exceeded our humanity.
--Albert Einstein |
|
|
 |
Raven

|
Posted:
Sun Jul 11, 2004 3:45 pm |
|
%73 is hex(73) = decimal(115)
so
%27 is hex(27) = decimal(39)
So, try %27, but that is for urls, so I'm not sure this is where you have the issue. You might also try \' instead of & #39. |
|
|
|
 |
|