summaryrefslogtreecommitdiff
path: root/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-02 07:06:28 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-02 07:06:28 -0700
commit7fbd012d71a21ac7a30e6b1bb045208dff225903 (patch)
tree500da6e01c84ff467c87480bf6aa739bb8ee5de7 /modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php
parentdc6167bffaf291c4d207e5d6cb842f8033dca4a9 (diff)
Move HTMLPurifier from core to contrib and make it optional. Delete the modules/gallery/lib and HTMLPurifier.php
Diffstat (limited to 'modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php')
-rw-r--r--modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php b/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php
deleted file mode 100644
index 6745977b..00000000
--- a/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Presentation.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.");
-
-/**
- * XHTML 1.1 Presentation Module, defines simple presentation-related
- * markup. Text Extension Module.
- * @note The official XML Schema and DTD specs further divide this into
- * two modules:
- * - Block Presentation (hr)
- * - Inline Presentation (b, big, i, small, sub, sup, tt)
- * We have chosen not to heed this distinction, as content_sets
- * provides satisfactory disambiguation.
- */
-class HTMLPurifier_HTMLModule_Presentation extends HTMLPurifier_HTMLModule
-{
-
- public $name = 'Presentation';
-
- public function setup($config) {
- $this->addElement('hr', 'Block', 'Empty', 'Common');
- $this->addElement('sub', 'Inline', 'Inline', 'Common');
- $this->addElement('sup', 'Inline', 'Inline', 'Common');
- $b = $this->addElement('b', 'Inline', 'Inline', 'Common');
- $b->formatting = true;
- $big = $this->addElement('big', 'Inline', 'Inline', 'Common');
- $big->formatting = true;
- $i = $this->addElement('i', 'Inline', 'Inline', 'Common');
- $i->formatting = true;
- $small = $this->addElement('small', 'Inline', 'Inline', 'Common');
- $small->formatting = true;
- $tt = $this->addElement('tt', 'Inline', 'Inline', 'Common');
- $tt->formatting = true;
- }
-
-}
-
-// vim: et sw=4 sts=4