From 0d39ad11692680a8e94ae441a39029032964b3b0 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 7 Dec 2013 20:41:17 +0000 Subject: fixed editing of RTL and LTR scripts mix (including a lot of wiki syntax) being a mess Bi-directionality is generally a huge pain in the arm, browser vendors only added a few improvements quite recently. This fix only works in Mozilla and Webkit currently. Affected syntax was links and media and all opening and closing syntax (e.g. code and del and various plugin syntax). --- inc/form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/form.php') diff --git a/inc/form.php b/inc/form.php index bdf520a2e..a4cd2e682 100644 --- a/inc/form.php +++ b/inc/form.php @@ -680,7 +680,7 @@ function form_wikitext($attrs) { // mandatory attributes unset($attrs['name']); unset($attrs['id']); - return ''; -- cgit v1.2.3 From 16ad3fae861bc110881c09b083b2ce9aad6285aa Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 14 Feb 2014 13:32:24 +0100 Subject: fixed some doc strings --- inc/form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/form.php') diff --git a/inc/form.php b/inc/form.php index a4cd2e682..312c42b60 100644 --- a/inc/form.php +++ b/inc/form.php @@ -176,7 +176,7 @@ class Doku_Form { * Gets the position of the first of a type of element. * * @param string $type Element type to look for. - * @return array pseudo-element if found, false otherwise + * @return int position of element if found, otherwise false * @author Tom N Harris */ function findElementByType($type) { @@ -193,7 +193,7 @@ class Doku_Form { * Gets the position of the element with an ID attribute. * * @param string $id ID of the element to find. - * @return array pseudo-element if found, false otherwise + * @return int position of element if found, otherwise false * @author Tom N Harris */ function findElementById($id) { @@ -211,7 +211,7 @@ class Doku_Form { * * @param string $name Attribute name. * @param string $value Attribute value. - * @return array pseudo-element if found, false otherwise + * @return int position of element if found, otherwise false * @author Tom N Harris */ function findElementByAttribute($name, $value) { -- cgit v1.2.3