]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/plaintext.mdwn
pagesources might not be populated
[ikiwiki.git] / doc / plugins / contrib / plaintext.mdwn
index cb6b8b11927b47815b6bf5cadd8471654803fb9e..0350bc3ca7419abfe295d68ec0ae3a4663b26f78 100644 (file)
@@ -5,8 +5,13 @@ 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).
+
+## Problems
+
+Wikilinks are expanded as usual, and as such produce `<a href=...>text</a>`
+tags, which are displayed as plain text. Is there a way to disable the preprocessor
+for some types of pages?
\ No newline at end of file