diff -r 36dd235e09d2 -r 4c759312950b textile.lua
--- a/textile.lua Tue Jul 14 02:06:13 2009 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-module("textile", package.seeall)
-
-
-return function (textile)
- if not textile then
- error("textile: nil data!");
- end
- textile = textile:gsub("_(.-)_", "%1"):gsub("%*(.-)%*", "%1");
- textile = textile:gsub("h(%d+)%. ([^\r\n]+)", "
%1
"); - textile = textile:gsub("p%((%w+)%)%. ([^\r\n]+)", "%2
"); - textile = textile:gsub("[\r\n](.-)[\r\n]", "%1
"); - return textile; -end