Use single quotes for attributes with Markdown/HTML content to avoid browser bugs
This commit is contained in:
parent
4fc518b2c9
commit
c4aed0e749
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<?= $this->a($this->e($project['name']), 'board', '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->markdown($project['description']) ?>'>
|
||||
<i class="fa fa-info-circle"></i>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -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) ?>
|
||||
|
|
|
|||
|
|
@ -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 ?>
|
||||
|
|
|
|||
|
|
@ -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->markdown($description) ?>'>
|
||||
<i class="fa fa-info-circle"></i>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -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->markdown($project['description']) ?>'>
|
||||
<i class="fa fa-info-circle"></i>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
<td>
|
||||
<?= $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 ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue