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:
Robert Tansley
2004-04-08 12:54:44 +00:00
parent 3a0288aa38
commit 7bac458d76

View File

@@ -234,7 +234,9 @@ public class Utils
{
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("<", "&lt;");
value = value.replaceAll(">", "&gt;");