diff --git a/heist.cabal b/heist.cabal
--- a/heist.cabal
+++ b/heist.cabal
@@ -1,5 +1,5 @@
 name:           heist
-version:        0.7.0
+version:        0.7.0.1
 synopsis:       An (x)html templating system
 description:    An (x)html templating system
 license:        BSD3
diff --git a/src/Text/Templating/Heist/Internal.hs b/src/Text/Templating/Heist/Internal.hs
--- a/src/Text/Templating/Heist/Internal.hs
+++ b/src/Text/Templating/Heist/Internal.hs
@@ -375,7 +375,8 @@
     return $ T.concat chunks
   where
     cvt (Literal x) = return x
-    cvt (Ident x)   = getAttributeSplice x
+    cvt (Ident x)   =
+        localParamNode (const $ X.Element x [] []) $ getAttributeSplice x
 
 
 ------------------------------------------------------------------------------
diff --git a/test/suite/Text/Templating/Heist/Tests.hs b/test/suite/Text/Templating/Heist/Tests.hs
--- a/test/suite/Text/Templating/Heist/Tests.hs
+++ b/test/suite/Text/Templating/Heist/Tests.hs
@@ -64,6 +64,7 @@
         , testCase     "heist/apply"                 applyTest
         , testCase     "heist/ignore"                ignoreTest
         , testCase     "heist/lookupTemplateContext" lookupTemplateTest
+        , testCase     "heist/attrSpliceContext"     attrSpliceContext
         ]
 
 
@@ -137,7 +138,7 @@
     ets <- loadT "templates"
     either (error "Error loading templates")
            (\ts -> do let tm = _templateMap ts
-                      H.assertBool "loadTest size" $ Map.size tm == 21
+                      H.assertBool "loadTest size" $ Map.size tm == 23
            ) ets
 
 
@@ -266,6 +267,12 @@
 -- | Handling of <content> and bound parameters in a bonud tag.
 bindParam :: H.Assertion
 bindParam = renderTest "bind_param" "<li>Hi there world</li>"
+
+
+------------------------------------------------------------------------------
+-- | Handling of <content> and bound parameters in a bonud tag.
+attrSpliceContext :: H.Assertion
+attrSpliceContext = renderTest "attrsubtest2" "<a href='asdf'>link</a>"
 
 
 ------------------------------------------------------------------------------
