diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-01-24 21:39:23 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-01-24 21:39:23 +0000 |
| commit | 060c6e0e1da0d0b94115afc7c1d1d9711eae6ac9 (patch) | |
| tree | da180c1c938cf5511a53ab5c53cabc9233c41224 | |
| parent | e4c217b0643ba61f633a730185c0e6715724df45 (diff) | |
| download | webtrees-060c6e0e1da0d0b94115afc7c1d1d9711eae6ac9.tar.gz webtrees-060c6e0e1da0d0b94115afc7c1d1d9711eae6ac9.tar.bz2 webtrees-060c6e0e1da0d0b94115afc7c1d1d9711eae6ac9.zip | |
Fix: unescaped data in name fields
| -rw-r--r-- | edit_interface.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_interface.php b/edit_interface.php index 3ae7d23f39..dd697cbced 100644 --- a/edit_interface.php +++ b/edit_interface.php @@ -2871,7 +2871,7 @@ function print_indi_form($nextaction, WT_Individual $person=null, WT_Family $fam var surn=frm.SURN.value; var nsfx=frm.NSFX.value; document.getElementById("NAME").value=generate_name(); - document.getElementById("NAME_display").innerHTML=frm.NAME.value; + document.getElementById("NAME_display").innerText=frm.NAME.value; // Married names inherit some NSFX values, but not these nsfx=nsfx.replace(/^(I|II|III|IV|V|VI|Junior|Jr\.?|Senior|Sr\.?)$/i, ""); // Update _MARNM field from _MARNM_SURN field and display it |
