Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Hyperlinks are no more displayed as links when entered in description(wiki type), "//" gets trimmed

What we know:
In RTC wiki syntax, for urls/ hyperlinks, it needs to be enclosed inside {{ }} to display as unformatted text.
For example : http://www.google.com will be displayed as http:www.google.com if its not enclosed inside {{}}. If it is enclosed as {{http://www.google.com}}, then it is getting displayed as expected.

What we need:
We need regular expression or any other solution so that such texts can be parsed and enclosed inside {{ }} programmatically before saving it to RTC.

Thanks in Advance

0 votes



2 answers

Permanent link
The Wiki attribute type has this syntax : http://www.wikicreole.org/ and you have to basically use that syntax or use a HTML attribute type if you want to paste the link and get it converted.

0 votes

Comments

Thanks for the answer Mr. Ralph Schoon.

We already have an application which uses wiki syntax(wiki type) for description field. As I mentioned we know that enclosing links inside {{ }} will consider the text as unformatted. But In a given description, we need to parse urls/hyperlinks alone so that we can enclose those parsed texts inside {{ }} via program to display links as expected.

Thanks in Advance


Permanent link
Then you would have to create a follow up action/participant for work item save. Start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/

Participant examples: https://rsjazz.wordpress.com/?s=participant
 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 13

Question asked: Jul 14 '16, 8:23 a.m.

Question was seen: 2,210 times

Last updated: Jul 15 '16, 3:57 a.m.

Confirmation Cancel Confirm