Skip to content

Commit

Permalink
fix(targetticket,targetchange): fix(targetticket,targetchange): remov…
Browse files Browse the repository at this point in the history
…e HTML code tag

    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 Aug 22, 2019
1 parent a88df90 commit 9ef4fc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/targetbase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1816,8 +1816,8 @@ public function showTagsList() {

echo '<tr class="line0">';
echo '<td colspan="2"><strong>' . __('Full form', 'formcreator') . '</strong></td>';
echo '<td align="center"><code>-</code></td>';
echo '<td align="center"><code><strong>##FULLFORM##</strong></code></td>';
echo '<td align="center">-</td>';
echo '<td align="center"><strong>##FULLFORM##</strong></td>';
echo '<td align="center">-</td>';
echo '</tr>';

Expand All @@ -1830,8 +1830,8 @@ public function showTagsList() {
$i++;
echo '<tr class="line' . ($i % 2) . '">';
echo '<td colspan="2">' . $questionName . '</td>';
echo '<td align="center"><code>##question_' . $questionId . '##</code></td>';
echo '<td align="center"><code>##answer_' . $questionId . '##</code></td>';
echo '<td align="center">##question_' . $questionId . '##</td>';
echo '<td align="center">##answer_' . $questionId . '##</td>';
echo '<td align="center">' . $sectionName . '</td>';
echo '</tr>';
}
Expand Down

0 comments on commit 9ef4fc3

Please sign in to comment.