Sfoglia il codice sorgente

set feed encoding to utf-8

Thomas Buck 2 anni fa
parent
commit
5ff97d94de
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      macros.py

+ 1
- 1
macros.py Vedi File

@@ -443,7 +443,7 @@ def hook_preconvert_sitemap():
443 443
 # rss feed generation
444 444
 # -----------------------------------------------------------------------------
445 445
 
446
-_RSS = """<?xml version="1.0"?>
446
+_RSS = """<?xml version="1.0" encoding="UTF-8"?>
447 447
 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
448 448
 <channel>
449 449
 <title>%s</title>

Loading…
Annulla
Salva