From fe63505adf2ab9e53fc8d0df099e57b90bed79c1 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 24 Oct 2014 14:59:30 +0200 Subject: Update helpers.php, function a() In helpers.php is a function a() used for link generation, i. e. by markdown(). In the opening element was a /, which is ignored by many (all? most?) browsers, but leads to interesting result with jQuery inserting of HTML generated by that function. I stumbled upon this while developing code for a preview of textareas and not being able to show a link to a task (#1). --- app/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index cd6d630e..f9415582 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -570,7 +570,7 @@ function form_numeric($name, $values = array(), array $errors = array(), array $ */ function a($label, $controller, $action, array $params = array(), $csrf = false, $class = '') { - return ''.$label.''; + return ''.$label.''; } /** -- cgit v1.2.3