diff options
-rw-r--r-- | functions.php | 2 | ||||
-rw-r--r-- | tt-rss.css | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 7894e401a..e09ff932e 100644 --- a/functions.php +++ b/functions.php @@ -3516,7 +3516,7 @@ if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) { $res = strip_tags_long($res, - "<p><a><i><em><b><strong><blockquote><br><img><ul><ol><li>"); + "<p><a><i><em><b><strong><code><pre><blockquote><br><img><ul><ol><li>"); // $res = preg_replace("/\r\n|\n|\r/", "", $res); // $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>"); diff --git a/tt-rss.css b/tt-rss.css index 5048d818b..3e97c6f31 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -2119,3 +2119,8 @@ textarea.labelSQL { div#label_test_result { clear : both; } + +pre, code { + font-size : 12px; + font-family : monospace; +} |