aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-05-28 21:07:20 +0200
committerLoïc Hoguin <[email protected]>2020-05-28 21:07:20 +0200
commitde955079f90d52cc626baebb52154f116c1ab5dd (patch)
tree04035458dd334154720f948130807f3fef5dd26b /doc/src/manual
parent3eec447960eb03cde48f0f04cd72fd4d1e548ca0 (diff)
downloadcowboy-de955079f90d52cc626baebb52154f116c1ab5dd.tar.gz
cowboy-de955079f90d52cc626baebb52154f116c1ab5dd.tar.bz2
cowboy-de955079f90d52cc626baebb52154f116c1ab5dd.zip
Fix the cowboy_req:inform/3 example in the manual
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/cowboy_req.inform.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/manual/cowboy_req.inform.asciidoc b/doc/src/manual/cowboy_req.inform.asciidoc
index 1770c14..93b9a5a 100644
--- a/doc/src/manual/cowboy_req.inform.asciidoc
+++ b/doc/src/manual/cowboy_req.inform.asciidoc
@@ -70,8 +70,8 @@ Req = cowboy_req:inform(102, Req0).
[source,erlang]
----
Req = cowboy_req:inform(103, #{
- <<"link">> => <<"</style.css>; rel=preload; as=style">>,
- <<"link">> => <<"</script.js>; rel=preload; as=script">>
+ <<"link">> => <<"</style.css>; rel=preload; as=style, "
+ "</script.js>; rel=preload; as=script">>
}, Req0).
----