Hi, I have a user macro that outputs two spans. When this macro is inserted in a th, there is a <p> </p> at the beginning of the th and at the end. I removed from the source editor but once I save the page they are back.
Regards
Nelson
If it is automatically putting it back in you might be able to craft some css to set the display on them to none and include it in your user macro. A hack I know, but it might get the job done. Such as ...
th p:first-child, th p:last-child { display: none; }
Or you could remove them with javascript on page load. Again, you could put the JS in your user macro to do this.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.