Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug where empty placeholder would render as 'None'
This bug would appear when "placeholder" template tag appeared in a template being rendered by a non-CMS view. The render_page_placeholder function had a bare "return" instead of returning an explicit empty string. See also the code that would be executed for the same case in django-cms 3.3.x (in cms_tags.py:render_tag in that release): page = request.current_page if not page or page == 'dummy': if nodelist: return nodelist.render(context) return ''
- Loading branch information