1 john Nov 10, 2007 13:17
3 yabba Nov 11, 2007 11:54
you can add id & style by changing the setting in conf/_formatting.php
# Set this to true to allow id && style as core attributes for posts
$posts_allow_css_tweaks = true;
¥
4 john Nov 11, 2007 12:01
Thanks mate, now I understand what that really means
5 yabba Nov 11, 2007 12:20
What it really means is that I got fed up of editing _formatting.php every upgrade to manually add the attributes ;)
¥
6 john Nov 11, 2007 13:21
Your not wrong there.... You almost have to keep a diary on your formatting fiddles :)
7 laibcoms Nov 11, 2007 14:49
Hehe lawlz. I already have a few files with edits strongly noted so I don't forget. At least it is fewer now :p
Just keep the comments stuff to not allow, that'll keep the commenters out of the risky elements and attributes.
8 john Nov 11, 2007 14:50
Just keep the comments stuff to not allow, that'll keep the commenters out of the risky elements and attributes.
absolutely
As a follow up, what are the pro's n con's of adding to allowed attributes?
One thing I would like to do is add "id" to allowed attributes for DIV?
I can see how this could get out of hand but don't know the implications good or bad.