doc: Fix in markup
authorPeter Eisentraut
Sat, 8 Jun 2013 02:00:59 +0000 (22:00 -0400)
committerPeter Eisentraut
Sat, 8 Jun 2013 02:00:59 +0000 (22:00 -0400)
Although the DTD technically allows this, the resulting HTML is invalid
because it puts block elements inside inline elements.  DocBook 5.0 also
doesn't allow it anymore, so it's fair to assume that this was never
really intended to work.  Replace  with , which is
the markup used elsewhere in the documentation in similar cases.

doc/src/sgml/textsearch.sgml

index 53051982e2fc648874e7d3f64624e79d2b00299f..604e54579dec28464c835ec87f47942bd4296bf7 100644 (file)
@@ -859,10 +859,7 @@ SELECT plainto_tsquery('english', 'The Fat & Rats:C');
       
 
       
-
-ts_rank( weights float4[],  vector tsvector,
-        query tsquery normalization integer ) returns float4
-
+       ts_rank( weights float4[],  vector tsvector, query tsquery normalization integer ) returns float4
       
 
       
@@ -879,10 +876,7 @@ ts_rank( weights fl
       
 
       
-
-ts_rank_cd( weights float4[],  vector tsvector,
-           query tsquery normalization integer ) returns float4
-
+       ts_rank_cd( weights float4[],  vector tsvector, query tsquery normalization integer ) returns float4
       
 
       
@@ -1226,9 +1220,7 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
      
 
      
-
-tsvector || tsvector
-
+      tsvector || tsvector
      
 
      
@@ -1267,9 +1259,7 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
      
 
      
-
-setweight(vector tsvector, weight "char") returns tsvector
-
+      setweight(vector tsvector, weight "char") returns tsvector
      
 
      
@@ -1297,9 +1287,7 @@ setweight(vector tsvector,
      
 
      
-
-length(vector tsvector) returns integer
-
+      length(vector tsvector) returns integer
      
 
      
@@ -1316,9 +1304,7 @@ length(vector tsvector) re
      
 
      
-
-strip(vector tsvector) returns tsvector
-
+      strip(vector tsvector) returns tsvector
      
 
      
@@ -1352,9 +1338,7 @@ strip(vector tsvector) ret
     
 
      
-
-tsquery && tsquery
-
+      tsquery && tsquery
      
 
      
@@ -1368,9 +1352,7 @@ strip(vector tsvector) ret
     
 
      
-
-tsquery || tsquery
-
+      tsquery || tsquery
      
 
      
@@ -1384,9 +1366,7 @@ strip(vector tsvector) ret
     
 
      
-
-!! tsquery
-
+      !! tsquery
      
 
      
@@ -1404,9 +1384,7 @@ strip(vector tsvector) ret
      
 
      
-
-numnode(query tsquery) returns integer
-
+      numnode(query tsquery) returns integer
      
 
      
@@ -1440,9 +1418,7 @@ SELECT numnode('foo & bar'::tsquery);
      
 
      
-
-querytree(query tsquery) returns text
-
+      querytree(query tsquery) returns text
      
 
      
@@ -1495,9 +1471,7 @@ SELECT querytree(to_tsquery('!defined'));
      
 
       
-
-ts_rewrite (query tsquery, target tsquery, substitute tsquery) returns tsquery
-
+       ts_rewrite (query tsquery, target tsquery, substitute tsquery) returns tsquery
       
 
       
@@ -1521,9 +1495,7 @@ SELECT ts_rewrite('a & b'::tsquery, 'a'::tsquery, 'c'::tsquery);
      
 
       
-
-ts_rewrite (query tsquery, select text) returns tsquery
-
+       ts_rewrite (query tsquery, select text) returns tsquery
       
 
       
@@ -3239,9 +3211,7 @@ SELECT plainto_tsquery('supernovae stars');
      
 
      
-
-CREATE INDEX name ON table USING gist(column);
-
+      CREATE INDEX name ON table USING gist(column);
      
 
      
@@ -3262,9 +3232,7 @@ CREATE INDEX name ON table
      
 
      
-
-CREATE INDEX name ON table USING gin(column);
-
+      CREATE INDEX name ON table USING gin(column);
      
 
      
@@ -3414,7 +3382,7 @@ CREATE INDEX name ON table
 
   
    
-    <synopsis>\dF+ PATTERN>
+    <literal>\dF+ PATTERN>
     
      
       List text search configurations (add + for more detail).
@@ -3455,7 +3423,7 @@ Parser: "pg_catalog.default"
    
 
    
-    <synopsis>\dFd+ PATTERN>
+    <literal>\dFd+ PATTERN>
     
      
       List text search dictionaries (add + for more detail).
@@ -3486,7 +3454,7 @@ Parser: "pg_catalog.default"
    
 
    
-   <synopsis>\dFp+ PATTERN>
+   <literal>\dFp+ PATTERN>
     
      
       List text search parsers (add + for more detail).
@@ -3539,7 +3507,7 @@ Parser: "pg_catalog.default"
    
 
    
-   <synopsis>\dFt+ PATTERN>
+   <literal>\dFt+ PATTERN>
     
      
       List text search templates (add + for more detail).