소스 검색

Fix OPML category encoding (#4427)

Category name was double-encoded
Alexandre Alapetite 3 년 전
부모
커밋
e14a72681e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/views/helpers/export/opml.phtml

+ 1 - 1
app/views/helpers/export/opml.phtml

@@ -11,7 +11,7 @@ $opml_array = array(
 
 foreach ($this->categories as $key => $cat) {
 	$opml_array['body'][$key] = array(
-		'text' => $cat->name(),
+		'text' => htmlspecialchars_decode($cat->name(), ENT_QUOTES),
 		'@outlines' => array()
 	);