From 0aaddb3b97d8d62d46567e16c305beb34312bad2 Mon Sep 17 00:00:00 2001 From: Otto Suess <37940680+ottosuess@users.noreply.github.com> Date: Thu, 13 Sep 2018 18:33:51 +0200 Subject: [PATCH] fix markdown table formatting tables containing `|` are breaking github markdown formatter when they are not escaped. --- Documentation/Index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Index.md b/Documentation/Index.md index 9aa84f4a..628e7464 100644 --- a/Documentation/Index.md +++ b/Documentation/Index.md @@ -718,7 +718,7 @@ try db.transaction { | `<<=` | `Int -> Int` | | `>>=` | `Int -> Int` | | `&=` | `Int -> Int` | -| `||=` | `Int -> Int` | +| `\|\|=` | `Int -> Int` | | `^=` | `Int -> Int` | | `+=` | `String -> String` | @@ -954,7 +954,7 @@ equate or compare different types will prevent compilation. | `<=` | `Comparable -> Bool` | `<=` | | `~=` | `(Interval, Comparable) -> Bool` | `BETWEEN` | | `&&` | `Bool -> Bool` | `AND` | -| `||` | `Bool -> Bool` | `OR` | +| `\|\|`| `Bool -> Bool` | `OR` | > *When comparing against `nil`, SQLite.swift will use `IS` and `IS NOT` > accordingly. @@ -1586,8 +1586,8 @@ arithmetic, bitwise operations, and concatenation. | `<<` | `Int -> Int` | `<<` | | `>>` | `Int -> Int` | `>>` | | `&` | `Int -> Int` | `&` | -| `|` | `Int -> Int` | `|` | -| `+` | `String -> String` | `||` | +| `\|` | `Int -> Int` | `\|` | +| `+` | `String -> String` | `\|\|` | > _Note:_ SQLite.swift also defines a bitwise XOR operator, `^`, which > expands the expression `lhs ^ rhs` to `~(lhs & rhs) & (lhs | rhs)`.