-
Notifications
You must be signed in to change notification settings - Fork 113
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
Invalid html created from jade files #3
Comments
Dear @simonjmartin I understand that a compilation is made ?!? could you please explain how did you compile the file ? PS: as you may see, the source code doesn't mention the bug you are mentioning; the tag ends after the tag Let me know |
I cloned a local copy, dropped the starter-template.jade file into a local dev folder, ran "harp compile mysite" from the directory and checked the result. But for the version I referenced in the original issue I simply navigated to the url in step 1 then checked the source: Playing with my local version I'm working out the indentation issues in the jade file which is the cause of the issue |
@simonjmartin I have no experience with http://harpjs.com/ Don't you think that there is a bug with the compiler? Have you tried a simple jade file like this one http://naltatis.github.io/jade-syntax-docs/ ? or test the sample under the 'Syntax' chapter on https://github.com/visionmedia/jade/ |
Jade compiles fine for me locally, the issue is the bootstrap jade files, the indentation is incorrect. This can be seen by viewing the links in my previous posts. The html produced online is invalid, the html element is closed too soon. |
@simonjmartin the jade file as well as the html are correct on the demo site. Please try this piece of code on your local server and send us the result:
|
@simonjmartin you need to raise your issue with http://harpjs.com/ development team. |
Do you get something different when you view the source for your demo page? However I have solved my problem; I leave it up to you how to handle this issue. |
Ok @simonjmartin but here is the result of a "Save as.." using a simple text editor: tell us how did you correct the issue from your side for me to verify it on my staging environment. thanks in advance |
@simonjmartin now I see the issue; some tabs are missing in the source code. e.g. the grid layout is correctly indented and not the others. feel free to "pull request" the code and amend the templates. |
When compiling the *.jade files for bootstrap the result is invalid - the html tag is opened then closed immediately.
Steps to repeat:
Note that the html tag is opened then closed before the head tag is opened
The text was updated successfully, but these errors were encountered: