projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resolve darcs stupidity
[org.ibex.core.git]
/
src
/
org
/
ibex
/
Template.java
diff --git
a/src/org/ibex/Template.java
b/src/org/ibex/Template.java
index
49748ac
..
2f3e2ac
100644
(file)
--- a/
src/org/ibex/Template.java
+++ b/
src/org/ibex/Template.java
@@
-295,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');
}
}