[pmwiki-users] Generating HTML escape sequences with GuiButtons?
Petko Yotov
5ko at 5ko.fr
Mon Feb 21 02:50:05 CST 2011
On Sunday 20 February 2011 18:07:14, Karl Schilke wrote :
> For years, the following code snippet from local/config.php would
> generate the text 'µ' in the editor:
>
> $GUIButtons['micro'] = array($ArrNo++, '%26micro;', '', '',
> '$Buttons/button_mu.gif"Micro"');
>
> I haven't had occasion to use it recently, but just discovered that it
> has stopped working, and now produces the literal text '%26micro;' in
> the editor.
Instead of %26 use either & or &.
If you use µ the button will enter the special character mu.
If you use µ the button will enter µ in the page.
Thanks,
Petko
More information about the pmwiki-users
mailing list