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
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
2 answers
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.