Check text for Links an Display them as links?
Hi!
I am having the problem, that i am getting content throught a json api-call, but the links arent shown as links, but plain text.
Is there any possibility to change that?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi!
I am having the problem, that i am getting content throught a json api-call, but the links arent shown as links, but plain text.
Is there any possibility to change that?
Hello Benjamin,
Unfortunately 3rd party rest services are outside the scope of our support, but you may try to change text to links with custom JS, for example like this:
http://stackoverflow.com/questions/37...
http://stackoverflow.com/questions/51...
https://github.com/gregjacobs/Autolin... did the job pretty nicely!
code on pageshow
var myTextEl = document.etElementsByTagName("p");
myTextEl.innerHTML = Autolinker.link( myTextEl.innerHTML );