diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,18 +3,28 @@
 project adheres to [Semantic Versioning](http://semver.org/) and Haskell
 [package versioning policy](https://wiki.haskell.org/Package_versioning_policy).
 
+
 ## [Unreleased][unreleased]
 
-## Changed
+
+## [1.0.3] - 2016-02-07
+
+### Changed
 - Updated cabal file
 
+### Fixed
+- Handling `tablifyCsvLinks` conditionally using CPP macro (fixes issue #17).
+
+
 ## [1.0.1] - 2015-06-02
 
 ### Fixed
 - Now handling `readMarkdown` conditionally using CPP macro (fixes issue #8).
 
+
 ## 1.0.0
 - The first release.
 
-[unreleased]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.1...HEAD
+[unreleased]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.3...HEAD
+[1.0.2]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.1...1.0.3
 [1.0.1]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.0...1.0.1
diff --git a/csv2table.hs b/csv2table.hs
--- a/csv2table.hs
+++ b/csv2table.hs
@@ -65,7 +65,13 @@
 main = toJSONFilter tablifyCsvLinks
 
 tablifyCsvLinks :: Block -> IO [Block]
+#if MIN_VERSION_pandoc(1,16,0)
+-- Image Attr [Inline] Target -- ^ Image:  alt text (list of inlines), target
+tablifyCsvLinks (Para [(Image _ l (f, _))]) | "csv" `isSuffixOf` f = do
+#else
+-- Image [Inline] Target -- ^ Image:  alt text (list of inlines), target
 tablifyCsvLinks (Para [(Image l (f, _))]) | "csv" `isSuffixOf` f = do
+#endif
     csv <- parseCSVFromFile f
     case csv of
         (Left _)    -> return []
diff --git a/pandoc-csv2table.cabal b/pandoc-csv2table.cabal
--- a/pandoc-csv2table.cabal
+++ b/pandoc-csv2table.cabal
@@ -1,5 +1,5 @@
 Name:                 pandoc-csv2table
-Version:              1.0.2
+Version:              1.0.3
 Synopsis:             Convert CSV to Pandoc Table Markdown
 Description:          A Pandoc filter that replaces image inline or fenced code
                       blocks with pandoc table markdown. CSV contents will be
