Automatically convert URLs to hyperlinks in answers/comments

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
eanderson
Posts: 3
Joined: Fri Jun 24, 2016 5:23 pm

Automatically convert URLs to hyperlinks in answers/comments

Post by eanderson » Mon Aug 29, 2016 7:36 pm

Does functionality exist today to automatically convert a URL in answer or comment to a clickable link?

E.g., Answer text is: "Product is supported in version 2.0 and above. For more information, go to http://www.example.com/"

This answer, when displayed to users' browsers, could actually read "Product is supported in version 2.0 and above. For more information, go to <a href="http://www.example.com/" target="_blank">http://www.example.com/</a>".

I have tried doing some customization with preg_replace() but was wondering if there is built-in functionality in phpMyFAQ. If not, I can submit a feature request for this functionality (I even see an option on this message board to automatically parse URLs!)

Thanks!

Thorsten
Posts: 14705
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Automatically convert URLs to hyperlinks in answers/comm

Post by Thorsten » Mon Aug 29, 2016 7:52 pm

Hi,

no, this feature is not implemented yet. You can add a feature request here https://github.com/thorsten/phpMyFAQ/issues

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply