[master] 3ec74a3aa doc: Format OCD

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Nov 24 14:26:11 UTC 2020


commit 3ec74a3aa2fd1880d8c998de813eb5d3c61c32ea
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Nov 24 15:23:16 2020 +0100

    doc: Format OCD
    
    Better diff with the --word-diff --ignore-all-space options.

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 2e7767c17..b442b88d3 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -84,9 +84,9 @@ Strings
 
 Basic strings are enclosed in double quotes ``"``\ *...*\ ``"``, and
 may not contain newlines. Long strings are enclosed in
-``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any character including single
-double quotes ``"``, newline and other control characters except for the
-*NUL* (0x00) character.
+``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any
+character including single double quotes ``"``, newline and other control
+characters except for the *NUL* (0x00) character.
 
 Booleans
 ~~~~~~~~
@@ -511,9 +511,9 @@ ban(STRING)
 
       Either a literal string or a regular expression. Note that
       *<arg>* does not use any of the string delimiters like ``"`` or
-      ``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere in varnish. To match
-      against strings containing whitespace, regular expressions
-      containing ``\s`` can be used.
+      ``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere
+      in varnish. To match against strings containing whitespace,
+      regular expressions containing ``\s`` can be used.
 
     * for duration fields:
 
diff --git a/doc/sphinx/users-guide/vcl-syntax.rst b/doc/sphinx/users-guide/vcl-syntax.rst
index 22b71ac57..73acf995f 100644
--- a/doc/sphinx/users-guide/vcl-syntax.rst
+++ b/doc/sphinx/users-guide/vcl-syntax.rst
@@ -23,10 +23,10 @@ to do the "count-the-backslashes" polka::
 
   regsub("barf", "(b)(a)(r)(f)", "\4\3\2p") -> "frap"
 
-Long strings are enclosed in {" ... "} or """ ... """. They may contain any character
-including ", newline and other control characters except for the NUL
-(0x00) character. If you really want NUL characters in a string there
-is a VMOD that makes it possible to create such strings.
+Long strings are enclosed in {" ... "} or """ ... """. They may contain
+any character including ", newline and other control characters except
+for the NUL (0x00) character. If you really want NUL characters in a
+string there is a VMOD that makes it possible to create such strings.
 
 .. _vcl_syntax_acl:
 


More information about the varnish-commit mailing list