If I have a custom "button" macro with this body:
<a href="$paramLinkTarget" class="my-custom-button">$body</a>
And I enter "https://www.google.com/" for the LinkTarget parameter, this macro renders as follows:
<a class="external-link" href="https://www.google.com/" rel="nofollow">
Hello World
</a>
Where did my class name go?! Why is Confluence removing the custom CSS class from my macro?
Does this mean that I am unable to create a simple <a> button macro with a custom style on it?
I would prefer to know if there was an official way to disable this behavior. I do not want solutions that involve:
Thanks!
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.