Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
947 views
in Q2A Core by
edited by

I want to convert URL string in email contents sent by Q2A into HTML. It is not converted even if I carry out sample code below. $urltext and $urlhtml are same... Please teach me condition converted in the regular expression of qa_html_convert_urls() function. 

$urltext = 'http://localhost/aaa/bbb/ccc';
$viewer = qa_load_viewer($urltext, 'html');
$utlhtml = $viewer->get_html($urltext, 'html', array('showurllinks' => true));
Best regards.
Q2A version: 1.6

1 Answer

+1 vote
by

I got it. This may be bug that local host cannot handle.

http://localhost.xxx   > OK
http://localhost   > NG

...