Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I put the gtranslate on my site appears this message in the valifator of w3c.org
1. Error Line 565, Column 32: document type does not allow element "style" here
Comment | File | Size | Author |
---|---|---|---|
#2 | error}.png | 37.51 KB | ericking |
Comments
Comment #1
apadernoComment #2
ericking CreditAttribution: ericking commentedthere is any solution?
the problem still persists...
The module is excellent but...how can we pass the validator, I am using the HTML purifier but it cannont solve this.
Any advise please
Comment #3
najibx CreditAttribution: najibx commentedIt look like the function gtranslate_block will spit out that css where ever you enable the block. CSS/JS should be loaded when the module is enabled, since it's going to be display throughtout the website. As temporary solution, since I use "flag" only in gtranslate.module, starting line 186, I commented out and put the "complete" style in head.tpl.php or page.tpl.php, whereever inside your head. If you are using both or list down only, you'll find to find it and comment it accordingly.
I commented out
Put this in your head
Comment #4
apadernoI am closing this issue, since Drupal 6 isn't supported anymore.