target problems and solution
-
Hi Manuel,
You did a nice job. It’s a simple but great plugin.
However I found some small problems that I managed myself to solve.
When you are using target, target fails to work because of extra spaces in front.
Attached you’ll find my solution tagged with MQB in the commentsif (is_array($atts) && $atts['target']){ $target = $atts['target'];} else {$target="_self";}//MQB if (is_array($atts) && $atts['href']){ $href = $atts['href'];} return isset($href) ? // "<a class=' ".$aclass."' href='".$href."' target=' ".$target."'><i class='fa ".$iclass."'></i></a>" //MQB- "<a class='".$aclass."' href='".$href."' target='".$target."'><i class='fa ".$iclass."'></i></a>" //MQB+ : "<i class='fa ".$iclass."'></i>";
Can you introduce this changes in the next version, please?
Thank you
- The topic ‘target problems and solution’ is closed to new replies.