How to output code as HTML in groovy script runner?

Hi,

I have written a script using groovy script runner, and I'm entering some links like below

link = '<a href="/design">Design</a>'

then its being printed using out.println link, but when I try to print , this will print as it is and not converting href as link.

here I'm attaching screen shots:

Thanks

1 answer

0 vote

I think this is Bob Swift's plugin, not script runner. If you use the right tags you will get the right people looking.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you