mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Commented out ' substitution, which is XML-only (and optional at that;
only needed to use ' in an attribute). git-svn-id: http://scm.dspace.org/svn/repo/trunk@838 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -234,7 +234,9 @@ public class Utils
|
|||||||
{
|
{
|
||||||
value = value.replaceAll("&", "&");
|
value = value.replaceAll("&", "&");
|
||||||
value = value.replaceAll("\"", """);
|
value = value.replaceAll("\"", """);
|
||||||
value = value.replaceAll("'", "'");
|
// actually, ' is an XML entity, not in HTML.
|
||||||
|
// that's why it's commented out.
|
||||||
|
//value = value.replaceAll("'", "'");
|
||||||
value = value.replaceAll("<", "<");
|
value = value.replaceAll("<", "<");
|
||||||
value = value.replaceAll(">", ">");
|
value = value.replaceAll(">", ">");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user