Skip to content

Commit

Permalink
[VkBridge] Ignore illegal characters in input html for iconv (RSS-Bri…
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 authored and logmanoriginal committed Jun 6, 2019
1 parent 88489c2 commit 752fc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/VkBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function collectData()
$text_html = $this->getContents()
or returnServerError('No results for group or user name "' . $this->getInput('u') . '".');

$text_html = iconv('windows-1251', 'utf-8', $text_html);
$text_html = iconv('windows-1251', 'utf-8//ignore', $text_html);
// makes album link generating work correctly
$text_html = str_replace('"class="page_album_link">', '" class="page_album_link">', $text_html);
$html = str_get_html($text_html);
Expand Down

0 comments on commit 752fc0b

Please sign in to comment.