Mercurial > libervia-web
diff src/browser/sat_browser/richtext.py @ 765:a55df9c37d0e
browser_side (blog): display title with h2 instead of h1 + add some bottom margin for the tags
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 25 Nov 2015 07:56:26 +0100 |
parents | 7390cba0bb44 |
children | f8a7a046ff9c |
line wrap: on
line diff
--- a/src/browser/sat_browser/richtext.py Wed Nov 25 02:35:32 2015 +0100 +++ b/src/browser/sat_browser/richtext.py Wed Nov 25 07:56:26 2015 +0100 @@ -323,7 +323,7 @@ content = self._original_content text = content['text'] if 'title' in content and content['title']: - title = '<h1>%s</h1>' % html_tools.html_sanitize(content['title']) + title = '<h2>%s</h2>' % html_tools.html_sanitize(content['title']) tags = "" for tag in common.dict2iter('tag', content):