Skip to content

Commit

Permalink
fix(targetticket,targetchange): remove HTML code tag
Browse files Browse the repository at this point in the history
the tag is included when copy / pasting a ##foo## tag to the template of the target object, breaking the rendering of the target after it is generated
  • Loading branch information
btry committed Jul 8, 2019
1 parent 772fecd commit e7cabe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ public function showForm($options = []) {
$i++;
echo '<tr class="line' . ($i % 2) . '">';
echo '<td colspan="2">' . $question['question'] . '</td>';
echo '<td align="center"><code>##question_' . $question['id'] . '##</code></td>';
echo '<td align="center"><code>##answer_' . $question['id'] . '##</code></td>';
echo '<td align="center">##question_' . $question['id'] . '##</td>';
echo '<td align="center">##answer_' . $question['id'] . '##</td>';
echo '<td align="center">' . $question['section'] . '</td>';
echo '</tr>';
}
Expand Down

0 comments on commit e7cabe7

Please sign in to comment.