Navigation Menu

Skip to content

Commit

Permalink
Item13446: prevent entities in PERL values being expanded by the brow…
Browse files Browse the repository at this point in the history
…ser when injecting into a textarea
  • Loading branch information
Crawford Currie committed Jun 9, 2015
1 parent fa78794 commit 5e45cee
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -28,6 +28,7 @@ var Types = {};
cols = m[1];
rows = m[2];
value = typeof(val) === "undefined" ? '' : val;
value = value.replace(/&/g, "&");
this.$ui = $('<textarea id="' + _id_ify(this.spec.keys) +
'" rows="' + rows +
'" cols="' + cols +
Expand Down

0 comments on commit 5e45cee

Please sign in to comment.