The graphs produce the following validation error and fail xhtml validation:

value of attribute "id" invalid: "1" cannot start a name.

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit

Is there a way you could get the initial div to start with a letter?

CommentFileSizeAuthor
#3 xhtml_d5.patch593 bytesredndahead
#3 xhtml_d6.patch605 bytesredndahead

Comments

vivianspencer’s picture

Assigned: Unassigned » vivianspencer
Status: Active » Fixed

I made the following change to the module code and it passes validation now

Before:

function set_unique_id()
{
	$this->unique_id = uniqid(rand(), true);
}

After

function set_unique_id()
{
	$this->unique_id = 'id-'.uniqid(rand(), true);
}
redndahead’s picture

Status: Fixed » Active

Please don't set it to fixed unless I fix it in my code. A valid solution and I'll probably add something like this.

redndahead’s picture

Assigned: vivianspencer » redndahead
Status: Active » Fixed
StatusFileSize
new605 bytes
new593 bytes

Patches attached (hopefully) Will commit immediately since it is a minor change.

vivianspencer’s picture

Sorry about that, I'm new to all this Drupal stuff

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.