Przeglądaj źródła

Fix OPML category encoding (#4427)

Category name was double-encoded
Alexandre Alapetite 3 lat temu
rodzic
commit
e14a72681e
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {
 foreach ($this->categories as $key => $cat) {
 	$opml_array['body'][$key] = array(
 	$opml_array['body'][$key] = array(
-		'text' => $cat->name(),
+		'text' => htmlspecialchars_decode($cat->name(), ENT_QUOTES),
 		'@outlines' => array()
 		'@outlines' => array()
 	);
 	);