Ignore:
Timestamp:
2020-07-03T12:18:35+12:00 (4 years ago)
Author:
ak19
Message:

The previous commit fixed the issue where HTML in collection descriptions was not being preserved when GLI was not involved. This commit fixes the remaining problems with preserving HTML in coll descriptions when GLI is involved.

File:
1 edited

Legend:

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

    r31776 r34241  
    957957            // And close.
    958958            os.close();
     959
     960            // Useful for debugging unescaped chars that may otherwise break stuff
     961            // w = new StringWriter();
     962            // // Generate a new serializer from the above.
     963            // s = new XMLSerializer(w, f);
     964            // s.asDOMSerializer();
     965            // // Finally serialize the document to file.
     966            // s.serialize(document);
     967
     968            // System.err.println("@@@@ XMLTools: wrote out to doc:\n" + w.toString());
     969           
    959970        }
    960971        catch (Exception exception)
Note: See TracChangeset for help on using the changeset viewer.