338行
代码: 全选
public function gravatar($size = 40, $rating = 'X', $default = NULL, $class = NULL)
{
echo '<img' . (empty($class) ? '' : ' class="' . $class . '"') . ' src="http://www.gravatar.com/avatar/' . md5($this->mail) . '?s=' . $size . '&r=' .
$rating . '&d=' . $default . '" alt="' . $this->author . '" width="' . $size . '" height="' . $size . '" />';
}
应该 &为 &
代码: 全选
public function gravatar($size = 40, $rating = 'X', $default = NULL, $class = NULL)
{
echo '<img' . (empty($class) ? '' : ' class="' . $class . '"') . ' src="http://www.gravatar.com/avatar/' . md5($this->mail) . '?s=' . $size . '&r=' .
$rating . '&d=' . $default . '" alt="' . $this->author . '" width="' . $size . '" height="' . $size . '" />';
}