# HG changeset patch # User RhodeCode Admin # Date 2024-07-17 08:16:28 # Node ID 0684a98a9d330fae95f87b2177b23d66472602e3 # Parent a774affb496d4c390ff6b197b0e032f20510667f fix: escaper, use h.escape instead of html_escape since it's faster and correct diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -130,7 +130,7 @@ def _hash_key(k): def description_escaper(desc): from rhodecode.lib import helpers as h - return h.html_escape(desc) + return h.escape(desc) def in_filter_generator(qry, items, limit=500):