Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Fixes issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongustafson committed Jan 29, 2015
1 parent ec793cc commit 2bb5b83
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,13 @@ function prep( $str='', $xhtml='', $class_name='', $blank_img='' )
if ( $name == 'src' )
{
$src = $value;
} else {
}
elseif ( $name == 'class' )
{
$class_name .= " {$value}";
}
else
{
$attributes[$name] = $name . '="' . $value . '"';
}
}
Expand Down

0 comments on commit 2bb5b83

Please sign in to comment.