diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,10 @@
 # Changelog for commonmark-pandoc
 
+## 0.2.2.3
+
+- Avoid adding spurious extra data-pos attribute to wrapper
+  Div (#159).
+
 ## 0.2.2.2
 
 - Add wrapper="1" when we need to add Div or Span. This is needed for
diff --git a/commonmark-pandoc.cabal b/commonmark-pandoc.cabal
--- a/commonmark-pandoc.cabal
+++ b/commonmark-pandoc.cabal
@@ -1,5 +1,5 @@
 name:           commonmark-pandoc
-version:        0.2.2.2
+version:        0.2.2.3
 synopsis:       Bridge between commonmark and pandoc AST.
 description:    This library provides typeclasses for rendering
                 commonmark to Pandoc types.
diff --git a/src/Commonmark/Pandoc.hs b/src/Commonmark/Pandoc.hs
--- a/src/Commonmark/Pandoc.hs
+++ b/src/Commonmark/Pandoc.hs
@@ -222,6 +222,8 @@
   Span (addToPandocAttr (("wrapper","1"):attrs) nullAttr) [x]
 
 addToPandocAttr :: Attributes -> Attr -> Attr
+-- avoid adding spurious extra data-pos to wrapper div (#159):
+addToPandocAttr [("data-pos", _)] attrs@(_,_,("wrapper","1"):_)  = attrs
 addToPandocAttr attrs attr = foldr go attr attrs
  where
   go ("id", v) (_, cls, kvs) = (v, cls, kvs)
