From fdb427d3436ff5d82a3e79f74191b15a3829b3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Wed, 31 Jan 2024 18:39:04 +0100 Subject: [PATCH] FIX: escape --- src/linkahead/utils/escape.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/linkahead/utils/escape.py b/src/linkahead/utils/escape.py index b42c0b1f..d6b206fc 100644 --- a/src/linkahead/utils/escape.py +++ b/src/linkahead/utils/escape.py @@ -21,10 +21,11 @@ def escape_quoted_text(text: str) -> str: - """The characters `\` and `*` need to be escaped if used in quoted expressions in the query + """The characters ``\\`` and ``*`` need to be escaped if used in quoted expressions in the query language. - This function return the given string where the characters `\` and `*` are escaped by a `\`. + This function return the given string where the characters ``\\`` and ``*`` are escaped by + a ``\\``. Parameters ---------- -- GitLab