removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / markup / naturallists.php
diff --git a/mods/wiki/plugins/markup/naturallists.php b/mods/wiki/plugins/markup/naturallists.php
deleted file mode 100644 (file)
index 8357a79..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-/*
-   Using this plugin, ordinary plain text written enumarated lists are
-   recognized (transformed into Wiki lists internally).
-
-   1. list
-   2. list
-   3) list
-     a. list
-     b. list
-   4) list
-*/
-
-
-$ewiki_plugins["format_source"][] = "ewiki_format_src_natural_lists";
-
-function ewiki_format_src_natural_lists(&$src) {
-
-   $src = preg_replace(
-      "/^(  )*(\d+|[a-zA-Z])[.)]\s/me", 
-      ' str_repeat("#", strlen("$1")>>1) . "#" . (0 ? "" : substr("$2",0,1)) . " " ',
-      $src
-   );
-}
-
-
-?>
\ No newline at end of file