Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error in CSS Stylesheet macro - is there a workaround?

Dirk Eyfrig October 13, 2022

When using a selector like

th>tr {
    font-size:bold;
}

in a CSS Stylesheet macro, it is rendered to

<style>
tr&gt;th {
    font-size:bold;
}
</style>

which apparently makes no sense at all.

Is there any workaround using the greater than symbol except using the HTML macro instead of the CSS Stylesheet macro?

 

1 answer

1 accepted

1 vote
Answer accepted
Radek Dostál
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.
October 14, 2022

Don't know what a "CSS Stylesheet macro" is, but if it fails to preserve css markup, then it's pointless?

If you use a regular HTML macro, it'll work just fine, and would be the intended way. I do not see any need for any "CSS Stylesheet" macro if all it does is wrapping your input in style tag and failing to preserving control characters.

<style>
th>tr {
    font-size:bold;
}
</style>

 

Dirk Eyfrig October 14, 2022

I fully agree ;-)

Dirk Eyfrig October 14, 2022

I just realized that the CSS Stylesheet macro is a customer specific macro...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events