jrUrlScan and links as list items
Using Jamroom
A ul list of urls are not converted to links unless a space is added before the url.
Looking at the jrUrlScan 1.1.12 code, in function jrUrlScan_replace_urls allowances are made for links as the first item in a div or paragraph. If I add similar code for a li everything works as expected.
// Fix for URLs right after an opening <p> tag which can be added by the editor
if (strpos(' ' . $text, '<p') || strpos(' ' . $text, '<div') || strpos(' ' . $text, '<li')) {
$text = preg_replace('`<([p|div|li])([^>]*)>[ \n\t\r]*http`', '<\1\2> http', $text);
}
updated by @ultrajam: 10/13/17 01:30:56PM