Default to content type HTML;
Correct name to XHTML; Improve CSS.
This commit is contained in:
parent
694c8bb489
commit
eb280b5aab
4 changed files with 7 additions and 5 deletions
|
@ -298,7 +298,7 @@ def generate_atom(iq, link):
|
|||
content_type = content.attrib['type'] if 'type' in content.attrib else 'text'
|
||||
content_type_text = 'html' if 'html' in content_type else 'text'
|
||||
else:
|
||||
content_type_text = 'text'
|
||||
content_type_text = 'html'
|
||||
published = item_payload.find(namespace + 'published')
|
||||
published_text = None if published == None else published.text
|
||||
updated = item_payload.find(namespace + 'updated')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue