Skip to content

Commit

Permalink
htmlspecialchars für hyphen-config
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebusryan committed Jul 15, 2016
1 parent 43a6043 commit 552ff7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//Start - hyphen
$n = [];
$n['label'] = '<label for="hyphenator-config-hyphen">'.$this->i18n('config_hyphen').'</label>';
$n['field'] = '<input type="text" id="hyphenator-config-hyphen" name="config[hyphen]" value="'.$this->getConfig('hyphen').'">';
$n['field'] = '<input type="text" id="hyphenator-config-hyphen" name="config[hyphen]" value="'.htmlspecialchars($this->getConfig('hyphen')).'">';
$n['note'] = $this->i18n('config_hyphen_description');
$formElements[] = $n;
//End - hyphen
Expand Down

0 comments on commit 552ff7f

Please sign in to comment.