Hey, I have recently created a new blog.
http://wildwobby.blogdns.org
Now its alright, but I do have a few problems I'm hoping some of you might be able to help me with. I posted at wordpress.org a few days ago and have got no response.
Anyways, I'm trying out diferent php code display plugins, and I have finally found one that looks good EXCEPT:
1. '>' gets displayed as '>' which is VERY frustrating.
2. I don't know how to indent the code to make it more readable, tab doesn't work, and if I press space like 10 times, wordpress automatically tries to clean it up by deleting the extraneous spaces.
If someone can help me iron these kinks out I would be a very happy camper!
My blog... problems
Moderator: General Moderators
- markusn00b
- Forum Contributor
- Posts: 298
- Joined: Sat Oct 20, 2007 2:16 pm
- Location: York, England
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Is the "saving" code your own? If so, just do:
Code: Select all
$php_to_save = str_replace('<', '<', $php_to_save);
$php_to_save = str_replace('>', '>', $php_to_save);