summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-24 21:36:50 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-24 21:36:50 -0500
commitc4aed0e74969fa0a04bf05dfb3014c60db711da9 (patch)
treea3cc7f75af578e401fa457c8b2504706190e3727 /app/Template/board
parent4fc518b2c9721f366b998021fe60a31a15430f0e (diff)
Use single quotes for attributes with Markdown/HTML content to avoid browser bugs
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/edit.php8
-rw-r--r--app/Template/board/swimlane.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/board/edit.php b/app/Template/board/edit.php
index b9b1788a..cf0c28e6 100644
--- a/app/Template/board/edit.php
+++ b/app/Template/board/edit.php
@@ -13,7 +13,7 @@
<tr>
<td class="column-60"><?= $this->e($column['title']) ?>
<?php if (! empty($column['description'])): ?>
- <span class="column-tooltip" title="<?= $this->markdown($column['description']) ?>">
+ <span class="column-tooltip" title='<?= $this->markdown($column['description']) ?>'>
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
@@ -52,12 +52,12 @@
<?= $this->formLabel(t('Title'), 'title') ?>
<?= $this->formText('title', $values, $errors, array('required', 'maxlength="50"')) ?>
-
+
<?= $this->formLabel(t('Task limit'), 'task_limit') ?>
<?= $this->formNumber('task_limit', $values, $errors) ?>
-
+
<?= $this->formLabel(t('Description'), 'description') ?>
-
+
<div class="form-tabs">
<div class="write-area">
<?= $this->formTextarea('description', $values, $errors) ?>
diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php
index ec298e24..4be92e58 100644
--- a/app/Template/board/swimlane.php
+++ b/app/Template/board/swimlane.php
@@ -28,7 +28,7 @@
<?= $this->e($column['title']) ?>
<?php if (! empty($column['description'])): ?>
- <span class="column-tooltip pull-right" title="<?= $this->markdown($column['description']) ?>">
+ <span class="column-tooltip pull-right" title='<?= $this->markdown($column['description']) ?>'>
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>