From 6ab276cf38e20266862e97a7beffec562d35bef0 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 8 May 2020 12:49:08 +0200 Subject: fix: closing tag bug - escape the value in php templates - clean edittab template by the way @vincent-peugnet, you should never use echo in a template Fixes #112 --- app/view/templates/edittabs.php | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'app') diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php index c890677..cc7739f 100644 --- a/app/view/templates/edittabs.php +++ b/app/view/templates/edittabs.php @@ -1,25 +1,24 @@
- $value) { - echo '
'; - ?> + $value) { ?> +
> - - echo '
'; - if ($key == $opentab) { - echo ''; - } else { - echo ''; - } - echo '
'; - echo '
'; -} -?> + +
+
+ \ No newline at end of file -- cgit v1.2.3