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);
}
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 10/13/17 01:30:56PM