# HG changeset patch # User Thierry Florac # Date 1537869005 -7200 # Node ID 776c7848a2b6cfdfeeca82e80e45f049df1dd803 # Parent 062935ff78942445a7f1e473dcf7621eea8655d8 Updated external video paragraph indexer diff -r 062935ff7894 -r 776c7848a2b6 src/pyams_content_es/component/paragraph.py --- a/src/pyams_content_es/component/paragraph.py Tue Sep 25 11:36:27 2018 +0200 +++ b/src/pyams_content_es/component/paragraph.py Tue Sep 25 11:50:05 2018 +0200 @@ -153,10 +153,6 @@ info = {} manager = get_parent(paragraph, II18nManager) for lang in manager.get_languages(): - body = (paragraph.body or {}).get(lang, '') - if body: - info[lang] = '{old}\n{body}'.format(old=info.get(lang, ''), - body=html_to_text(body.replace('\r', ''))) for attr in ('title', 'description'): value = (getattr(paragraph, attr, {}) or {}).get(lang, '') if value: