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

@ -300,11 +300,15 @@ public class PackInHandler extends DefaultHandler {
if (e.contents != null && e.contents.length() > 0)
{
if (e.contents.toString().length() != e.contents.toString().trim().length())
{
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())
{
try {