summaryrefslogtreecommitdiff
path: root/app/Template/project/index.php
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2015-03-04 17:03:04 +0100
committerFrancois Ferrand <thetypz@gmail.com>2015-03-04 17:03:38 +0100
commit6696484bd0082c230f91815229f2382e26a5d235 (patch)
treec9ea246860f70cd96fe2e3016e630d56766de6ea /app/Template/project/index.php
parent23f8f2c576271a9007b5da0a4d0ba144ad66086d (diff)
Escape markdown code in column tooltips.
This is needed to avoid issues when the code contains quotes.
Diffstat (limited to 'app/Template/project/index.php')
-rw-r--r--app/Template/project/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/index.php b/app/Template/project/index.php
index 9a0f641c..05a7d955 100644
--- a/app/Template/project/index.php
+++ b/app/Template/project/index.php
@@ -42,7 +42,7 @@
<?= $this->a($this->e($project['name']), 'project', 'show', array('project_id' => $project['id'])) ?>
<?php if (! empty($project['description'])): ?>
- <span class="column-tooltip" title='<?= $this->markdown($project['description']) ?>'>
+ <span class="column-tooltip" title='<?= $this->e($this->markdown($project['description'])) ?>'>
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>