Skipple

Topic: Textile Link Syntax not working

I'm in the admin section making a job post on my site. It's running 1.9.1. Using the correct textile formatting it will not work.

Textile works with bold, italic, anything else I've tried but I can not for the life of me get it to work with Link formatting.

Anyone else have this issue or know how to solve it?

Thanks in advance!

sukhbirsingh91

Re: Textile Link Syntax not working

I have the same issue.... I would be great full if some one could solve this issue.

redjumpsuit

Re: Textile Link Syntax not working

Open /_includes/function.php and add this after <?php

Code:

 function strpos_arr($haystack, $needle) {
    if(!is_array($needle)) $needle = array($needle);
    foreach($needle as $what) {
        if(($pos = strpos($haystack, $what))!==false) return $pos;
    }
    return false;
}

Open /page_job.php and /admin/page_job.php and look for this line:

Code:

if (strstr($info['description'], '*'))

replace it with:

Code:

if (strpos_arr($info['description'], array('*', '"', "_", '#')))
will host your job board for you at minimal cost! read more: http://mim.io/acb992