Changeset 6195


Ignore:
Timestamp:
2003-12-10T16:24:56+13:00 (20 years ago)
Author:
jmt12
Message:

No longer encodes < and > as this was stuffing up html marked-up comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/StatusHTML.java

    r6124 r6195  
    135135
    136136    public Report(String bug_id, String description, String reported_by, String platform, String test_item, String status, String solution) {
    137         if(bug_id != null) this.bug_id = bug_id.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    138         if(description != null) this.description = description.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    139         if(platform != null) this.platform = platform.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    140         if(reported_by != null) this.reported_by = reported_by.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    141         if(solution != null) this.solution = solution.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
     137        if(bug_id != null) this.bug_id = bug_id; //.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
     138        if(description != null) this.description = description; //.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
     139        if(platform != null) this.platform = platform; //.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
     140        if(reported_by != null) this.reported_by = reported_by; //.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
     141        if(solution != null) this.solution = solution; //.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    142142        if(status != null) this.status = status;  // status.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    143143        if(test_item != null) this.test_item = test_item;  // test_item.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
Note: See TracChangeset for help on using the changeset viewer.