aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index 50090100..ce82f6bc 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -77,8 +77,7 @@ class ContentProxy
77 */ 77 */
78 private function sanitizeContentTitle($title, $contentType) { 78 private function sanitizeContentTitle($title, $contentType) {
79 if ('application/pdf' === $contentType) { 79 if ('application/pdf' === $contentType) {
80 $convertedTitle = $this->convertPdfEncodingToUTF8($title); 80 $title = $this->convertPdfEncodingToUTF8($title);
81 return $this->sanitizeUTF8Text($convertedTitle);
82 } 81 }
83 return $this->sanitizeUTF8Text($title); 82 return $this->sanitizeUTF8Text($title);
84 } 83 }