OSDN Git Service

rawプラグインをcoreに移動。
authortakezoe <takezoe@871d6764-1e22-0410-b313-a55050885396>
Mon, 10 Oct 2011 15:14:10 +0000 (15:14 +0000)
committertakezoe <takezoe@871d6764-1e22-0410-b313-a55050885396>
Mon, 10 Oct 2011 15:14:10 +0000 (15:14 +0000)
takezoe/plugin/book/Install.pm
takezoe/plugin/book/Raw.pm [deleted file]

index e9a19c8..fd02863 100644 (file)
@@ -40,7 +40,6 @@ sub install {
        $wiki->add_hook("title3", "plugin::book::Title3");
        
        $wiki->add_inline_plugin("br", "plugin::book::Br");
-       $wiki->add_inline_plugin("raw" ,"plugin::book::Raw" ,"HTML");
        $wiki->add_paragraph_plugin("keyword" ,"plugin::book::Keyword" ,"HTML");
        
        my @paths = split(/\//, $wiki->get_CGI()->path_info());
diff --git a/takezoe/plugin/book/Raw.pm b/takezoe/plugin/book/Raw.pm
deleted file mode 100644 (file)
index 34f9f2a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-################################################################################
-#
-# <p>°ú¿ô¤Ç»ØÄꤷ¤¿Ê¸»úÎó¤ò¤½¤Î¤Þ¤Þɽ¼¨¤¹¤ë¥¤¥ó¥é¥¤¥ó¥×¥é¥°¥¤¥ó¤Ç¤¹¡£</p>
-# <pre>
-# {{raw '''°ú¿ô¤Ç»ØÄꤷ¤¿Ê¸»úÎó¤ò¤½¤Î¤Þ¤Þɽ¼¨¤·¤Þ¤¹'''}}
-# </pre>
-#
-################################################################################
-package plugin::book::Raw;
-use Encode qw(decode);
-#==============================================================================
-# ¥³¥ó¥¹¥È¥é¥¯¥¿
-#==============================================================================
-sub new {
-       my $class = shift;
-       my $self = {};
-       return bless $self,$class;
-}
-
-#==============================================================================
-# ¥¤¥ó¥é¥¤¥ó¥á¥½¥Ã¥É
-#==============================================================================
-sub inline {
-       my $self = shift;
-       my $wiki = shift;
-       my $text = shift;
-       return Util::escapeHTML($text);
-}
-
-1;