projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reflow on demand when JS reads width/height
[org.ibex.core.git]
/
src
/
org
/
ibex
/
Template.java
diff --git
a/src/org/ibex/Template.java
b/src/org/ibex/Template.java
index
fb9f4cc
..
2f3e2ac
100644
(file)
--- a/
src/org/ibex/Template.java
+++ b/
src/org/ibex/Template.java
@@
-118,7
+118,6
@@
public class Template {
// FIXME: should we be resolving all of these in the XML-parsing code?
}
}
// FIXME: should we be resolving all of these in the XML-parsing code?
}
}
-
b.putAndTriggerTraps(key, val);
}
}
b.putAndTriggerTraps(key, val);
}
}
@@
-296,6
+295,7
@@
public class Template {
nodeStack.setSize(nodeStack.size() - 1);
t.children.addElement(oldt);
int oldt_lines = getLine() - oldt.startLine;
nodeStack.setSize(nodeStack.size() - 1);
t.children.addElement(oldt);
int oldt_lines = getLine() - oldt.startLine;
+ if (t.content == null) t.content = new StringBuffer();
for (int i=0; oldt_lines > i; i++) t.content.append('\n');
}
}
for (int i=0; oldt_lines > i; i++) t.content.append('\n');
}
}