Resource loaded using the ClasspathTemplateLoader require *.jade extension before they are copied in
nishtahir opened this issue · 1 comments
nishtahir commented
The problem seems to be caused here.
@Override
public Reader getReader(String name) throws IOException {
if(!name.endsWith(suffix))name = name + suffix;
return new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(name), getEncoding());
}
It assumes that all files must have the *.jade
extension. So files such as *.css
and *.js
aren't loaded unless they are appended with *.jade
chbloemer commented
Added Testcase 135.jade and running all issue Tests also with ClasspathTemplateLoader. Fixed in release 1.2.0