Conflict with customized comment.tpl.php and extra Voting Forms
| Project: | JsMath for displaying mathematics with TeX |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
First of all, I would like to congratulate the author for this wonderful module.
I tried all latex-related modules. Every module has an issue.
This one is an excellent Module! in terms of rendering quality, simplicity, no insertion of [tex] tags, or enable certain filters. Yes, it is a little bit slow and it keeps processing the entire page rather than the current node, but i like it!!!
I noticed that if you have a customized comment.tpl.php with the html tag around your $content, the rendered equation does not show up. Also, if you are using extra voting form for voting up and down, then during previewing your content, the post content button does not work.
It is obvious that the solution is simple, do not use the html tag nor rendering the voting form during editing.
Thanks

#1
oash, thanks for pointing out these conflicts.
It is correct that you should not have an tag around comments. That produces invalid on your page. As you say, the solution is easy: just remove those tags from your template.
I suspect that your voting form also produces invalid html. Have you checked that? You could use the W3C validation service for that.