-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
I've got a jade template extending a layout file placed in the parent folder:
kek/index.jade_layout.jade
I'm using extends ../_layout.jade. It worked in 1.2.3, but not in 1.2.4. You might want to add a little test for this one.
I traced the issue down to de.neuland.jade4j.template.ClasspathTemplateLoader.
- Using version
1.2.3, when callingClasspathTemplateLoader.getReader(), the passed parameter isjade\_layout.jade*. This works when callinggetResourceAsStream. - Using version
1.2.4, the passed parameter is nowjade\general/../_layout.jade, which does not work.getResourceAsStreamreturns null.
*Yes, this is running in debug mode on my windows. I'm not sure if using "/" in Jade4J's code is a good idea, but it worked until now.