Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Extra paragraph in th

NelsonC
Contributor
June 2, 2014

Hi, I have a user macro that outputs two spans. When this macro is inserted in a th, there is a <p>&nbsp;</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

1 answer

1 accepted

0 votes
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2014

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events