aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/cowboy_req.asciidoc2
-rw-r--r--doc/src/manual/cowboy_rest.asciidoc3
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/manual/cowboy_req.asciidoc b/doc/src/manual/cowboy_req.asciidoc
index 558592b..e1a2c4d 100644
--- a/doc/src/manual/cowboy_req.asciidoc
+++ b/doc/src/manual/cowboy_req.asciidoc
@@ -326,7 +326,7 @@ Return the extra tokens from matching against `...` during routing.
=== peer(Req) -> Peer
-Peer = {inet:ip_address(), inet:port_number()}:: Peer IP address and port number.
+Peer = `{inet:ip_address(), inet:port_number()}`:: Peer IP address and port number.
Return the client's IP address and port number.
diff --git a/doc/src/manual/cowboy_rest.asciidoc b/doc/src/manual/cowboy_rest.asciidoc
index b504776..edf4b5c 100644
--- a/doc/src/manual/cowboy_rest.asciidoc
+++ b/doc/src/manual/cowboy_rest.asciidoc
@@ -171,7 +171,8 @@ and `language`. The body can be set using `cowboy_req:set_resp_body/2`.
Methods:: GET, HEAD, POST, PUT, PATCH, DELETE
Value type:: [{binary() | {Type, SubType, Params}, ProvideResource}]
-Default value:: `[{{<<"text">>, <<"html">>, '*'}, to_html}]`
+// @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398
+Default value:: `[{{ <<"text">>, <<"html">>, '*'}, to_html}]`
With types: