Skip to content

Commit

Permalink
Fixed issue #8644: Incomplete display of adv. attributes containing s…
Browse files Browse the repository at this point in the history
…ingle quotes

Dev: single quote ended string in "input"
Dev: no problem with "textarea"
  • Loading branch information
mfaber committed Feb 2, 2014
1 parent 2469ac6 commit 771deaa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@
}
echo "</select>";
break;
case 'text':?> <input type='text' id='<?php echo $aAttribute['name'];?>' name='<?php echo $aAttribute['name'];?>' value='<?php echo $aAttribute['value'];?>' />
case 'text':?> <input type='text' id='<?php echo $aAttribute['name'];?>' name='<?php echo $aAttribute['name'];?>' value='<?php echo htmlspecialchars($aAttribute['value'],ENT_QUOTES, 'UTF-8');?>' />
<?php
break;
case 'integer':?> <input type='text' id='<?php echo $aAttribute['name'];?>' name='<?php echo $aAttribute['name'];?>' value='<?php echo $aAttribute['value'];?>' />
Expand Down

0 comments on commit 771deaa

Please sign in to comment.