some important stuff we'll need

This commit is contained in:
friendica
2012-05-12 17:57:41 -07:00
parent cd727cb26b
commit 7a40f4354b
942 changed files with 92819 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
* XHTML 1.1 Target Module, defines target attribute in link elements.
*/
class HTMLPurifier_HTMLModule_Target extends HTMLPurifier_HTMLModule
{
public $name = 'Target';
public function setup($config) {
$elements = array('a');
foreach ($elements as $name) {
$e = $this->addBlankElement($name);
$e->attr = array(
'target' => new HTMLPurifier_AttrDef_HTML_FrameTarget()
);
}
}
}
// vim: et sw=4 sts=4