diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+- 0.5.1.0 (2017-04-23)
+    * Bump `aeson-1.2` dependency
+    * Fix vertical alignment of title slides
+    * Fix wrapping issue with inline code at end of line
+    * Add bash-completion script generation to Makefile
+
 - 0.5.0.0 (2017-02-06)
     * Add a `slideLevel` option & autodetect it.  This changes the way `patat`
       splits slides.  For more information, see the `README` or the `man` page.
diff --git a/patat.cabal b/patat.cabal
--- a/patat.cabal
+++ b/patat.cabal
@@ -1,5 +1,5 @@
 Name:                patat
-Version:             0.5.0.0
+Version:             0.5.1.0
 Synopsis:            Terminal-based presentations using Pandoc
 Description:         Terminal-based presentations using Pandoc
 License:             GPL-2
@@ -24,7 +24,7 @@
   Default-language:  Haskell2010
 
   Build-depends:
-    aeson                >= 0.9  && < 1.2,
+    aeson                >= 0.9  && < 1.3,
     ansi-terminal        >= 0.6  && < 0.7,
     ansi-wl-pprint       >= 0.6  && < 0.7,
     base                 >= 4.6  && < 4.10,
diff --git a/src/Patat/Presentation/Display.hs b/src/Patat/Presentation/Display.hs
--- a/src/Patat/Presentation/Display.hs
+++ b/src/Patat/Presentation/Display.hs
@@ -94,7 +94,7 @@
                 offsetRow      = (csRows canvasSize `div` 2) - (prows `div` 2)
                 offsetCol      = (csCols canvasSize `div` 2) - (pcols `div` 2)
                 spaces         = mconcat (replicate offsetCol PP.space) in
-            mconcat (replicate (offsetRow - 1) PP.hardline) <$$>
+            mconcat (replicate (offsetRow - 3) PP.hardline) <$$>
             PP.indent (PP.NotTrimmable spaces) (PP.NotTrimmable spaces) pblock
 
 
@@ -258,7 +258,7 @@
 
 prettyInline Theme {..} (Pandoc.Code _ txt) =
     themed themeCode $
-    " " <> PP.string txt <> " "
+    PP.string (" " <> txt <> " ")
 
 prettyInline theme@Theme {..} link@(Pandoc.Link _attrs text (target, _title))
     | isReferenceLink link =
