From fd799b4d53cd9e4ba28094e3cfa27473232f9eca Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 16 Aug 2007 22:11:26 +0000 Subject: [PATCH] web commit by http://jeremie.koenig.myopenid.com/: plugin updated to use HTML::Entities --- doc/plugins/contrib/plaintext.mdwn | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/plugins/contrib/plaintext.mdwn b/doc/plugins/contrib/plaintext.mdwn index cb6b8b119..83d4599f6 100644 --- a/doc/plugins/contrib/plaintext.mdwn +++ b/doc/plugins/contrib/plaintext.mdwn @@ -5,8 +5,7 @@ I was surprised that no plugin seems to be available to render plaintext pages; as I need one to implement the "[[todo/preview_changes]]" todo item, I quickly wrote it. Maybe this can be included in ikiwiki? -This plugins changes `<`, `>` and `&` characters into the -corresponding entities (`<`, `>`, `&`), and wraps its input inside -a `
`...`
` tag. I'm not sure if this is sufficient. +This plugins uses HTML::Entities::encode_entities() on the page's content +and wraps it in a `
`...`
` tag. Download from [here](http://www.jk.fr.eu.org/ikiwiki/plaintext.pm).