You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/12/12 09:21:01 UTC

[couchdb] 01/01: Fix rendering of inline literal with withespaces

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch fix-inline-literal
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 143bc07e66abbb32937be038ff0a4909f76b6f9a
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Mon Dec 12 10:20:46 2022 +0100

    Fix rendering of inline literal with withespaces
    
    Fixed wrong rendering of an inline literal with whitespaces.
    Use `:literal` as workaround, with esacpes ws `\ ` and added
    non-breakable-whitespace char (U+00A0)
---
 src/docs/src/api/server/authn.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/docs/src/api/server/authn.rst b/src/docs/src/api/server/authn.rst
index b4a4806a2..4548e7379 100644
--- a/src/docs/src/api/server/authn.rst
+++ b/src/docs/src/api/server/authn.rst
@@ -426,7 +426,7 @@ The ``jwt_keys`` section lists all the keys that this CouchDB server trusts. You
 should ensure that all nodes of your cluster have the same list.
 
 Since version 3.3 it's possible to use ``=`` in parameter names, but only when
-the parameter and value are separated `` = ``, i.e. the equal sign is
+the parameter and value are separated :literal:`\  = \ `, i.e. the equal sign is
 surrounded by at least one space on each side. This might be useful in the
 ``[jwt_keys]`` section where base64 encoded keys may contain the ``=``
 character.
@@ -482,3 +482,5 @@ https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/).
 
 Note that you don't need to request :ref:`session <api/auth/session>`
 to be authenticated by this method if the required HTTP header is provided.
+
+.. |nbsp| unicode:: 0xA0
\ No newline at end of file