summaryrefslogtreecommitdiff
path: root/app/Template/layout.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/layout.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/layout.php')
-rw-r--r--app/Template/layout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index a5d34f4d..9290a21e 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -37,7 +37,7 @@
<nav>
<h1><?= $this->a('K<span>B</span>', 'app', 'index', array(), false, 'logo', t('Dashboard')).' '.$this->summary($this->e($title)) ?>
<?php if (! empty($description)): ?>
- <span class="column-tooltip" title='<?= $this->markdown($description) ?>'>
+ <span class="column-tooltip" title='<?= $this->e($this->markdown($description)) ?>'>
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>