From c9e69dac4e896bf6ba017cfd568a62a78b0eea51 Mon Sep 17 00:00:00 2001 From: pingou Date: Jun 18 2015 10:43:07 +0000 Subject: [PATCH 1/2] Allow the
html tags in markdown --- diff --git a/pagure/ui/filters.py b/pagure/ui/filters.py index 835201a..e49e76f 100644 --- a/pagure/ui/filters.py +++ b/pagure/ui/filters.py @@ -324,7 +324,7 @@ def no_js(content): content, tags=bleach.ALLOWED_TAGS + [ 'p', 'br', 'div', 'h1', 'h2', 'h3', 'table', 'td', 'tr', 'th', - 'col', 'tbody', 'pre', 'img', + 'col', 'tbody', 'pre', 'img', 'hr', ], attributes=attrs, ) From fbf559c56d8c7c3bbb17fed10dfcd65c42986c99 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 18 2015 10:49:41 +0000 Subject: [PATCH 2/2] Small CSS fixes to show the 'Comment' button properly in inline comments --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 91c2b18..a7d5db8 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -891,7 +891,7 @@ span.CONFLICTS { color: #0066CC!important; } -.tabs .ui-widget-content a:hover { +.tabs .commit_list a:hover { color: white!important; } @@ -899,6 +899,10 @@ span.CONFLICTS { color: white!important; } +.tabs .ui-widget-content .submit{ + color: #444!important; +} + .tabs .ui-state-hover a:hover{ color: white; }