Adding render time filtering of script elements to avoid javascript based security exploits. NIHVIVO-2678
This commit is contained in:
parent
40189139bb
commit
40fef365bd
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public class ListedIndividual extends BaseListedIndividual {
|
||||||
/* Access methods for templates */
|
/* Access methods for templates */
|
||||||
|
|
||||||
public String getPreferredTitle() {
|
public String getPreferredTitle() {
|
||||||
return individual.getDataValue(CORE + "preferredTitle");
|
return cleanTextForDisplay( individual.getDataValue(CORE + "preferredTitle") );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add method to get core:webpages
|
// Add method to get core:webpages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue