-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering partial inside a highlightjs block #21
Comments
Strange. Can you provide the code of that produced the error rather than just the code that produced the fix? That'll help. Alternatively, if you could do up a mini test project to showcase the problem, I'll be able to fix this pretty quickly. Seems like it is something on our end that was exposed with the specific setup. |
The code I provided is the one causing the error |
Find sample project here, I used html5-boilerplate.docpad, added one partial snippet.html.eco and modified index.html.eco to render it inside hljs block. |
I'm using docpad 6.63.3 and also have the same issue, partial in pre/code fails with exactly the same issue. @MohammadYounes did you solved it somehow? |
@derberg Nop! I moved on without using it. |
ok, so for now as a workaround I'm using |
I have a code snippet that I want to reuse across multiple pages, I created a partial and when I tried to render it along other code inside a highlightjs code block I received the following error :
Note: Moving the partial call outside hljs code block works fine.
page.html.eco
snippet.html.eco
environment
The text was updated successfully, but these errors were encountered: