[4.0] ee55121 Replace non-breaking spaces to make pdflatex happy
Lasse Karstensen
lkarsten at varnish-software.com
Thu Mar 13 10:24:22 CET 2014
commit ee55121ab437f45df345290787d6b7f8bb70b409
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date: Wed Jan 29 13:17:20 2014 +0100
Replace non-breaking spaces to make pdflatex happy
diff --git a/doc/sphinx/users-guide/devicedetection.rst b/doc/sphinx/users-guide/devicedetection.rst
index fc612e7..e78ceda 100644
--- a/doc/sphinx/users-guide/devicedetection.rst
+++ b/doc/sphinx/users-guide/devicedetection.rst
@@ -21,8 +21,8 @@ that content is to be served to.
Setting this header can be as simple as::
- sub vcl_recv {
- if (req.http.User-Agent ~ "(?i)iphone" {
+ sub vcl_recv {
+ if (req.http.User-Agent ~ "(?i)iphone" {
set req.http.X-UA-Device = "mobile-iphone";
}
}
More information about the varnish-commit
mailing list