Skip to content

Commit

Permalink
MyBB 1.8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
dvz committed Aug 22, 2018
1 parent 06f3f58 commit 3ace4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/class_feedgeneration.php
Expand Up @@ -143,7 +143,7 @@ function generate_feed()
$this->xml .= "\t\t<updated>{$item['updated']}</updated>\n";
$this->xml .= "\t\t<link rel=\"alternate\" type=\"text/html\" href=\"{$item['link']}\" />\n";
$this->xml .= "\t\t<id>{$item['link']}</id>\n";
$this->xml .= "\t\t<title type=\"html\" xml:space=\"preserve\"><![CDATA[".$this->sanitize_content($item['title'])."]]></title>\n";
$this->xml .= "\t\t<title xml:space=\"preserve\"><![CDATA[".$this->sanitize_content($item['title'])."]]></title>\n";
$this->xml .= "\t\t<content type=\"html\" xml:space=\"preserve\" xml:base=\"{$item['link']}\"><![CDATA[".$this->sanitize_content($item['description'])."]]></content>\n";
$this->xml .= "\t\t<draft xmlns=\"http://purl.org/atom-blog/ns#\">false</draft>\n";
$this->xml .= "\t</entry>\n";
Expand Down
2 changes: 1 addition & 1 deletion inc/class_parser.php
Expand Up @@ -1212,7 +1212,7 @@ function mycode_parse_img($url, $dimensions=array(), $align='')
{
$alt = my_substr($alt, 0, 40).'...'.my_substr($alt, -10);
}
$alt = htmlspecialchars_uni($alt);
$alt = $this->encode_url($alt);

$alt = $lang->sprintf($lang->posted_image, $alt);
$width = $height = '';
Expand Down

0 comments on commit 3ace4d6

Please sign in to comment.