Final tweaks for multiple cast support.
This commit is contained in:
parent
6fde85012d
commit
f9158553ad
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ def __description(config, content):
|
||||||
description = re.sub('<p></p>\n', '', description)
|
description = re.sub('<p></p>\n', '', description)
|
||||||
description = re.sub(re.compile('License</a>.</p>.*$', re.M | re.S), 'License</a>.</p>', description)
|
description = re.sub(re.compile('License</a>.</p>.*$', re.M | re.S), 'License</a>.</p>', description)
|
||||||
description = re.sub('</p>\n', '</p>\n\n', description)
|
description = re.sub('</p>\n', '</p>\n\n', description)
|
||||||
return re.sub('<p>View the <a', '<p>More news, commentary, and alternate feeds available at http://thecommandline.net/. View the <a', description)
|
return re.sub('<p>%(info_lede)s' % config, '<p>%(more_info)s %(info_lede)s' % config, description)
|
||||||
|
|
||||||
|
|
||||||
def __enclosure(config, enclosures, base_url, suffix):
|
def __enclosure(config, enclosures, base_url, suffix):
|
||||||
|
|
Loading…
Reference in a new issue