Skip to content

Commit 2f8d694

Browse files
committed
docs: improve text decoration
1 parent 10bee8b commit 2f8d694

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/incoming/content_negotiation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ be able to return data as raw HTML, JSON, or XML. This list should be provided i
6060
$format = $negotiate->media($supported);
6161

6262
In this case, both the client and the server can agree on formatting the data as JSON so 'json' is returned from
63-
the negotiate method. By default, if no match is found, the first element in the $supported array would be returned.
63+
the negotiate method. By default, if no match is found, the first element in the ``$supported`` array would be returned.
6464
In some cases, though, you might need to enforce the format to be a strict match. If you pass ``true`` as the
6565
final value, it will return an empty string if no match is found::
6666

@@ -92,7 +92,7 @@ and German you would do something like::
9292
$lang = $negotiate->language($supported);
9393

9494
In this example, 'en' would be returned as the current language. If no match is found, it will return the first element
95-
in the $supported array, so that should always be the preferred language.
95+
in the ``$supported`` array, so that should always be the preferred language.
9696

9797
Encoding
9898
========

0 commit comments

Comments
 (0)