WordPress.org

Ready to get started?Download WordPress

Forums

gallery shortcode no alt tag and script inside body tag (2 posts)

  1. Monika
    Member
    Posted 6 years ago #

    if I'm using the new gallery shortcode validator shows me more than one error ;)

    document type does not allow element "style" here.

    <style type='text/css'>

    and there is no alt atrribute

    wp-includes/media.php

    function get_image_tag - I found this function and I see that there is an alt attribute but it doesn't work

    and one br has no slash - so it is invalide

    line 412

    $output .= "
    <br style='clear: both;' >
    </div>\n";

    and is there a way to send the style between head and /head and not into body tag -

    thanks a lot

    Monika

  2. fob
    Member
    Posted 6 years ago #

    Hi Monika

    I put your answer here. ("Dort wartet ein Plugin auf Dich.") ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic