From a4a4c1a799c4420ea4cd7dd13a183152e1b70c4e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 29 2016 14:22:10 +0000 Subject: Allow tags so that the README shows fine --- diff --git a/README.rst b/README.rst index ee3ac2d..d895e7c 100644 --- a/README.rst +++ b/README.rst @@ -29,8 +29,8 @@ Get it running sudo dnf install git python-virtualenv libgit2-devel \ libjpeg-devel gcc libffi-devel redhat-rpm-config - .. note:: Do note the version of libgit2 that you install, for example in - ``libgit2-0.23.4-1`` you need to keep in mind the ``0.23`` + .. note:: Do note the version of libgit2 that you install, for example + in ``libgit2-0.23.4-1`` you need to keep in mind the ``0.23`` * Retrieve the sources:: diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index ff716ed..9e159cf 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -2533,7 +2533,7 @@ def clean_input(text, ignore=None): tags = bleach.ALLOWED_TAGS + [ 'p', 'br', 'div', 'h1', 'h2', 'h3', 'table', 'td', 'tr', 'th', - 'col', 'tbody', 'pre', 'img', 'hr', 'dl', 'dt', 'dd', + 'col', 'tbody', 'pre', 'img', 'hr', 'dl', 'dt', 'dd', 'span', ] if ignore: for tag in ignore: