Skip to content

Commit

Permalink
Fix to correctly escape HTML in editor mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Sep 16, 2023
1 parent eae7981 commit 8211f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentic.pl
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ sub theme_ui_textarea
return "<textarea style='display: inline; width:100%;' class='form-control ui_textarea' " .
"name=\"" . &quote_escape($name) . "\" " . "id=\"" . &quote_escape($name . $ids) .
"\" " . "rows='$rows' cols='$cols'" . ($wrap ? " wrap=$wrap" : "") . ($dis ? " disabled=true" : "") .
($tags ? " $tags" : "") . ">" . &html_escape($value) . "</textarea>";
($tags ? " $tags" : "") . ">" . &html_escape($value, 1) . "</textarea>";
}

sub theme_ui_submit
Expand Down

0 comments on commit 8211f7a

Please sign in to comment.