diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -57,15 +57,19 @@
 
 ### Using stack
 
-    git clone git@github.com:mb21/pandoc-placetable.git
-    cd pandoc-placetable
-    stack install
+    stack install pandoc-placetable
 
+### The inlineMarkdown flag
+
 When compiled with the `inlineMarkdown` flag, the `inlinemarkdown=yes`option is available to
 have CSV and the caption be interpreted as markdown. Note that the flag causes Pandoc to be
 required as a dependency so it will take a while to build.
 
     cabal install -f inlineMarkdown pandoc-placetable
+
+or:
+
+    stack install --flag pandoc-placetable:inlineMarkdown pandoc-placetable
 
 ## Usage
 
diff --git a/pandoc-placetable.cabal b/pandoc-placetable.cabal
--- a/pandoc-placetable.cabal
+++ b/pandoc-placetable.cabal
@@ -1,5 +1,5 @@
 Name:                 pandoc-placetable
-Version:              0.4
+Version:              0.4.1
 Build-Type:           Simple
 Synopsis:             Pandoc filter to include CSV files
 Description:          A Pandoc filter that replaces code blocks (that have the class `table`)
@@ -15,6 +15,7 @@
 Copyright:            (c) 2015 Mauro Bieg
 Category:             Text
 Data-Files:           README.md
+Extra-source-files:   stack.yaml
 Cabal-Version:        >=1.10
 Source-repository     head
   type:               git
diff --git a/pandoc-placetable.hs b/pandoc-placetable.hs
--- a/pandoc-placetable.hs
+++ b/pandoc-placetable.hs
@@ -139,7 +139,7 @@
          else
            if null s
               then mempty
-              then str s
+              else str s
 
     strToBlocks s =
       if inlinemd
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,11 @@
+resolver: lts-7.5
+
+packages:
+- '.'
+
+extra-deps:
+  - spreadsheet-0.1.3.4
+
+flags: {}
+
+extra-package-dbs: []
