Quick question: Our CMS uses CKEditor to allow our clients to edit their site. The front-end styles uses a pre tag. So we've styled out the pre tag exactly how we want it to look. However, their staff has copy and pasted from another site and it has changed the styling due to inline styles. So I set-up this script to remove all inline styles:
$("pre").attr({style : ""});
However, I am having an issue with some of the pre tags need to have the text-align:center;
inline tag. How can I set-up the script to allow the pre tag to only have text-align?