summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-29 18:43:57 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-29 18:43:57 -0400
commit9fa8f63d25a1bd1b2ce17c5dc610680aefa290fe (patch)
tree7348ec8646c4f08ad4515aa15e2cdd689b005f10 /app/Template/project
parenta34f83fb3044b51a8cb519a97ad27853ef4a068a (diff)
Fixed improper Markdown escaping for some tooltips
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/index.php2
-rw-r--r--app/Template/project/show.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project/index.php b/app/Template/project/index.php
index 10d4aaa2..0194672a 100644
--- a/app/Template/project/index.php
+++ b/app/Template/project/index.php
@@ -49,7 +49,7 @@
<?php endif ?>
<?php if (! empty($project['description'])): ?>
- <span class="tooltip" title='<?= $this->text->e($this->text->markdown($project['description'])) ?>'>
+ <span class="tooltip" title="<?= $this->text->markdownAttribute($project['description']) ?>">
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
diff --git a/app/Template/project/show.php b/app/Template/project/show.php
index 42eeec4d..4aba4919 100644
--- a/app/Template/project/show.php
+++ b/app/Template/project/show.php
@@ -63,7 +63,7 @@
<td>
<?= $this->text->e($column['title']) ?>
<?php if (! empty($column['description'])): ?>
- <span class="tooltip" title='<?= $this->text->e($this->text->markdown($column['description'])) ?>'>
+ <span class="tooltip" title="<?= $this->text->markdownAttribute($column['description']) ?>">
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>