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

zzolo’s picture

Hey @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?

zzolo’s picture

Priority: Major » Minor

I don't really have time for the D6 version of this module. Patches welcome.

ken-g’s picture

Issue summary: View changes
Status: Active » Closed (outdated)