web commit by http://jeremie.koenig.myopenid.com/: plugin updated to use HTML::Entities
parent
d58dc4ef8f
commit
fd799b4d53
|
@ -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,
|
as I need one to implement the "[[todo/preview_changes]]" todo item,
|
||||||
I quickly wrote it. Maybe this can be included in ikiwiki?
|
I quickly wrote it. Maybe this can be included in ikiwiki?
|
||||||
|
|
||||||
This plugins changes `<`, `>` and `&` characters into the
|
This plugins uses HTML::Entities::encode_entities() on the page's content
|
||||||
corresponding entities (`<`, `>`, `&`), and wraps its input inside
|
and wraps it in a `<pre>`...`</pre>` tag.
|
||||||
a `<pre>`...`</pre>` tag. I'm not sure if this is sufficient.
|
|
||||||
|
|
||||||
Download from [here](http://www.jk.fr.eu.org/ikiwiki/plaintext.pm).
|
Download from [here](http://www.jk.fr.eu.org/ikiwiki/plaintext.pm).
|
||||||
|
|
Loading…
Reference in New Issue