Skip to content

Commit

Permalink
Ready for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
saschaleib committed Apr 19, 2023
1 parent 59eb3d7 commit 0fe37dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Helper Component for the Ad Hoc Tags Plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Anika Henke <[email protected]>
* @author Sascha Leib <sascha.leib(at)kolmio.com>
* @author Anika Henke <[email protected]>
* @author Sascha Leib <sascha.leib(at)kolmio.com>
*/

class helper_plugin_adhoctags extends DokuWiki_Plugin {
Expand All @@ -15,9 +15,6 @@ class helper_plugin_adhoctags extends DokuWiki_Plugin {
static protected $rtlscripts = array('arab','thaa','hebr','deva','shrd');
/* selection of left-to-right scripts (may override the language defaults to ltr) */
static protected $ltrscripts = array('latn','cyrl','grek','cyrs','armn');
/* tag attributes that are always allowed: */
static protected $globalattr = array('dir','hidden','is','itemid','itemprop','itemref','itemscope','itemtype','role','tabindex');


/* Helper plugins should return info about the methods supported. */
public function getMethods() {
Expand Down Expand Up @@ -122,6 +119,7 @@ function buildAttributes($data, $myObj, $addClass='', $mode='xhtml') {
* get attributes (pull apart the string between '<wrap' and '>')
* and identify classes, width, lang and dir
*
* @author Sascha Leib <sascha.leib(at)kolmio.com>
* @author Anika Henke <[email protected]>
* @author Christopher Smith <[email protected]>
* (parts taken from http://www.dokuwiki.org/plugin:box)
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base adhoctags
author Sascha Leib
email sascha.leib(at)kolmio.com
date 2023-04-13
date 2023-04-20
name Ad-Hoc Tags Plugin
desc A secure but flexible way to insert HTML tags into DokuWiki
url https://www.dokuwiki.org/plugin:adhoctags
Expand Down
4 changes: 2 additions & 2 deletions syntax/a.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class syntax_plugin_adhoctags_a extends syntax_plugin_adhoctags_abstractinline {

/* allow link attributes: */
function allowAttribute(&$name, &$value) {
//dbg('<a>:allowAttribute(' . $name . ', "' . $value . '")');

switch ($name) {
case 'href':
Expand Down Expand Up @@ -49,7 +48,8 @@ function allowAttribute(&$name, &$value) {
return false;
}
}
/**

/**
* ODT Renderer Functions
*/
function renderODTElementOpen($renderer, $HTMLelement, $data) {
Expand Down

0 comments on commit 0fe37dd

Please sign in to comment.