@ewafford
10 years, 1 month ago
reevaluating my str_replace revealed the error:
str_replace("class='avatar", "class='avatar pull-left media-object", $avatar);
Should have been:
str_replace("class=\"avatar", "class=\"avatar pull-left media-object", $avatar);
Thanks for being a sounding board. Late night.