20,741
edits
m (→Feature requests & ideas: we can do that now thanks to the recent AJAX/OpenLink addition) |
m (→The Script) |
||
| Line 564: | Line 564: | ||
} | } | ||
// Convert non-wiki links | // Convert non-wiki links | ||
// TODO: identify forum/devel list links, and use the AJAX/OpenLink helper to get a title/subject for unnamed links (using the existing xpath/regex helpers for that) | |||
html = html.replace(/<a.*?href="(.*?)".*?>(.*?)<\/a>/g, '[$1 $2]'); | html = html.replace(/<a.*?href="(.*?)".*?>(.*?)<\/a>/g, '[$1 $2]'); | ||
// Remove triple dots from external links. | // Remove triple dots from external links. | ||