]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://jeremie.koenig.myopenid.com/: plugin updated to use HTML::Entities
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 16 Aug 2007 22:11:26 +0000 (22:11 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 16 Aug 2007 22:11:26 +0000 (22:11 +0000)
doc/plugins/contrib/plaintext.mdwn

index cb6b8b11927b47815b6bf5cadd8471654803fb9e..83d4599f60c69a7fea228feb1232e92bece0cc9f 100644 (file)
@@ -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 (`&lt;`, `&gt;`, `&amp;`), and wraps its input inside
-a `<pre>`...`</pre>` 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 `<pre>`...`</pre>` tag.
 
 Download from [here](http://www.jk.fr.eu.org/ikiwiki/plaintext.pm).