• Resolved Markus Olsson

    (@marol87)


    I came across an error while using the validator at https://validator.w3.org.

    I changed
    return "<a class='nturl notranslate ".$language_code."' single-language flag' title='".$language."'>".$label."</a>";

    To

    return "<a class='nturl notranslate ".$language_code." single-language flag' title='".$language."'>".$label."</a>";

    Notice the extra quote which make the classes interrupted. After this change I no longer get the validation error.

    Is this a valid fix?

    // Markus

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Fix for validation error.’ is closed to new replies.