Calendar Grid HTML Validation Error
-
Joe:
I just discovered an HTML validation issue with the current version of My Calendar affecting the
[my_calendar format="calendar"]shortcode.Line 1381 of
my-calendar-output.phpcontains the following code.$my_calendar_body .= "<$th class='$class $dayclass'>" . $name_days[ $i ] . "</$th>\n";As you can see, the variable
$this used in the closing tag as well. Therefore, when$thincludes a scope attribute (as per Line 1366) it is also present in the closing tag.I replaced
</$th>with</th>on Line 1381 to correct the validation errors.Please let me know if you have any questions and thank you for the excellent plugin.
Regards,
David July
The topic ‘Calendar Grid HTML Validation Error’ is closed to new replies.