• Hi dear developer,

    Hope you are doing great.

    I am using below shortcode in my blog post. It is generating some HTML link with error. While looking source code of my site, I found there is no space between target and title attributes. Initially, I desabled HTML minification. But, it didn’t not fixed ??

    [su_custom_gallery source="category: 5848" limit="40" link="post" target="blank" width="300" height="300" title="always"]

    Could you please look into this issue?

    Thanks & Regards,
    Gulshan

    • This topic was modified 8 years, 2 months ago by Gulshan Kumar.
Viewing 3 replies - 1 through 3 (of 3 total)
  • poppoll2

    (@poppoll2)

    Same problem here.

    poppoll2

    (@poppoll2)

    Found the error:
    Open plugins\shortcodes-ultimate\inc\core\shortcodes.php

    Find this line 1170

    
    // Slide content with link
    if ( $slide['link'] ) $return .= '<a href="' . $slide['link'] .'"' . $atts['target'] . 'title="' . esc_attr( $slide['title'] ) . '">
    
    Change like this (add a space before title)
    // Slide content with link
    if ( $slide['link'] ) $return .= '<a href="' . $slide['link'] .'"' . $atts['target'] . ' title="' . esc_attr( $slide['title'] ) . '">
    

    That’s all

    Thread Starter Gulshan Kumar

    (@thegulshankumar)

    Great! Thanks for sharing. @poppoll2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘no space between attributes’ is closed to new replies.