X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ceae681a438a044778df212642d5f174d8bbc182..fbd8cea1b4d3ff335c9eb22030ff306a9538084b:/doc/plugins/contrib/plaintext/discussion.mdwn?ds=sidebyside diff --git a/doc/plugins/contrib/plaintext/discussion.mdwn b/doc/plugins/contrib/plaintext/discussion.mdwn index 1969c6077..f9d7bd763 100644 --- a/doc/plugins/contrib/plaintext/discussion.mdwn +++ b/doc/plugins/contrib/plaintext/discussion.mdwn @@ -5,4 +5,17 @@ I guess the advantage of using this plugin is that you get the page wrapper around the preformatted text, and could even inline such a page. There is not currently a good way to turn off some processing steps for -some page types. It's either all or nothing. --[[Joey]] +some page types. It's either all or nothing. The patch in +[[todo/format_escape]] might allow a formatter to register its own special +version of htmllink that didn't do anything, but would that be enough? + +--[[Joey]] + +[Here](http://www.gmcmanus.org/plaintext.pm) is an alternate approach. +It encodes entities using a filter hook, before wikilinks are linkified. +So wikilinks turn up as links. +It also uses URI::Find to turn URIs into links. + +I'm not very familiar with Perl, so this code could be improved. + +--Gabriel