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.
After the update from 6.x-2.0-alpha10 to 6.x-2.0.beta1, the OpenLayersModule now creates a linebreak in the empty rel-attribute of the WKT-Field-Textarea, which makes the HTML invalid.
Take a look at http://gmna.de, in line 119 the OpenLayersModule produces following line:
[...]
<textarea cols="60" rows="2" name="field_gp[openlayers_wkt]" id="edit-field-gp-openlayers-wkt" rel="
" class="form-textarea resizable required"></textarea>
[...]
But that should be
[...]
<textarea cols="60" rows="2" name="field_gp[openlayers_wkt]" id="edit-field-gp-openlayers-wkt" rel="" class="form-textarea resizable required"></textarea>
[...]
Checking the page against the w3-validator, this throws an error, which it didn't do with the 6.x-2.0-alpha10
Any solution to this known?
Regards Paddy
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedHey @pgr1973. Sorry for the delay. This is odd. It should just be the map ID, which 1) should not be empty and 2) should not have any line breaks in it. Maybe you can export the map you are using?
Comment #2
zzolo CreditAttribution: zzolo commentedI don't really have time for the D6 version of this module. Patches welcome.
Comment #3
ken-g CreditAttribution: ken-g as a volunteer and commented