Skip to content

Commit

Permalink
Also handle lists inside of summary text
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeosbn committed Dec 30, 2017
1 parent 846686c commit 4bcca23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ def update(self, metadata, media, lang, force=False):


#cleanup synopsis
synopsis = re.sub(r'<([pP]|br|br ?/)>', '\n', synopsis)
synopsis = re.sub(r'<(/?[iIuUbBpP])>', '', synopsis.strip())
synopsis = re.sub(r'<([pP]|li|br|br ?/)>', '\n', synopsis)
synopsis = re.sub(r'</?([iIuUbBpP]|li|ul)>', '', synopsis.strip())

self.Log('date: %s', date)
self.Log('title: %s', title)
Expand Down

0 comments on commit 4bcca23

Please sign in to comment.