Skip to content

Commit

Permalink
addressed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Oct 23, 2023
1 parent 8388d76 commit 453bf9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/planning/feed_parsers/superdesk_planning_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ def parse_content_meta(self, tree, item, planning_type):
slugline_elt = content_meta.find(self.qname("headline"))
if slugline_elt is not None and slugline_elt.text:
item["slugline"] = slugline_elt.text
item["name"] = slugline_elt.text
item["name"] = (
plain_text_to_html(slugline_elt.text) if is_field_editor_3("name", planning_type) else slugline_elt.text
)

description_elt = content_meta.find(self.qname("description"))
if description_elt is not None and description_elt.text:
Expand Down

0 comments on commit 453bf9d

Please sign in to comment.