Merge release-1.0c

This commit is contained in:
Heng Sin Low 2013-11-14 14:51:43 +08:00
commit 40d1d26e1c
3 changed files with 6 additions and 2 deletions

View File

@ -301,8 +301,12 @@ public class PackInHandler extends DefaultHandler {
{
if (e.contents.toString().length() != e.contents.toString().trim().length())
{
String s = e.contents.toString().trim();
e.contents = new StringBuffer(s);
String trim = e.attributes.getValue("trim");
if (!(trim != null && trim.equals("false")))
{
String s = e.contents.toString().trim();
e.contents = new StringBuffer(s);
}
}
}
if (stack.isEmpty())