X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/8d03891ebab60eb2db65f26183d06249937d2458..bc1fd4b78422c9bd499493ecc07f6d437633588e:/doc/todo/block_external_links.mdwn diff --git a/doc/todo/block_external_links.mdwn b/doc/todo/block_external_links.mdwn index f62897a88..4a9e14215 100644 --- a/doc/todo/block_external_links.mdwn +++ b/doc/todo/block_external_links.mdwn @@ -1,6 +1,6 @@ I'd like the ability to block external links from anonymous users, or from untrusted users. This could work by generating the HTML for the new page and -comparing it to the HTML for the old page, looking for any new tags with +comparing it to the HTML for the old page, looking for any new <a> tags with href values that didn't exist in the old page and don't start with the URL of the wiki. Comparing the HTML, rather than the input, allows usage with various types of input formats, and ensures that a template, shortcut, or some