Opened 18 years ago

Closed 18 years ago

#788 closed Bug (invalid)

Adding extra tags to FCKeditor.php (<accesscontrol>)

Reported by: polo Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone:
Component: Server : PHP Version:
Keywords: Cc:

Description

I want FCKeditor to cater for the tag <accesscontrol>, I used from another extention. Currently when I use this tag, it is displayed when viewing the file. I want it not to show, like other HTML tags. I was sure adding this would work, but it didn't:

if ($wgFCKEditorAllow_accesscontrol_tags) {

$i = 0; $ta = md5("aopen"); while (preg_match("|(<accesscontrol>)|i", $fcktext, $a)) {

$j = $ta."_".md5($i); $List[$j]content? = $a[0]; $List[$j]index? = $j; $fcktext = str_replace($a[0], $j, $fcktext); $i++;

} $i = 0; $ta = md5("aclose"); while (preg_match("|(</accesscontrol>)|i", $fcktext, $a)) {

$j = $ta."_".md5($i); $List[$j]content? = $a[0]; $List[$j]index? = $j; $fcktext = str_replace($a[0], $j, $fcktext); $i++;

}

}

Can anybody please assist me or point me in the right direction.

Change History (1)

comment:1 Changed 18 years ago by Alfonso Martínez de Lizarrondo

Keywords: Wiki <accesscontrol> tags removed
Priority: HighNormal
Resolution: invalid
Status: newclosed

Testing with the online demo works for me, the tags aren't shown. Please use our forums for discussions and general help

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy