Forums

Need help with XHTML compliance (4 posts)

  1. subirghosh
    Member
    Posted 6 years ago #

    I am using the OneYearAgo plugin.

    When used normally I get the validation error:

    an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.

    Example:

    •Industrial growth centre set up in Nagaland

    The relevant code in the plugin is this:

    if ($i <= $limit) {
    if (1 < $i && $i != $limit) $output .= '';
    if (1 < $i && $i == $limit) $output .= '';
    $output .= "ID)." rel=\"bookmark\" title=\"Permanent Link to $entry->post_title\">•�$entry->post_title";
    $i++;

    When I change it to

    "ID).\" rel=\"bookmark\" title=\"Permanent Link to $entry->post_title\">•�$entry->post_title";

    it vaildates all right, but the output becomes

    •Industrial growth centre set up in Nagaland

    What should I do?

  2. christopher hradil
    Member
    Posted 6 years ago #

    what's the url for the site(and the page in question) so I can take a look at the actual source code ?

  3. christopher hradil
    Member
    Posted 6 years ago #

    the site seems to be rendering fine, in both IE and firefox, so I wouldn't get too worried about that particular issue, you might consider using the "pretty" permalinks, that would change the final output and I've not had any problems getting that to validate.

  4. subirghosh
    Member
    Posted 6 years ago #

    Yeah, it renders fine in both. I will tinker around with that plugin for some time I think. Maybe later ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags