diff --git a/Guide/hsx.markdown b/Guide/hsx.markdown index 6139de8c6..d9680ce65 100644 --- a/Guide/hsx.markdown +++ b/Guide/hsx.markdown @@ -291,9 +291,9 @@ It will still check for a valid HTML structure, but it will accept any tag and a ```haskell [uncheckedHsx| - + Content - + |] ``` @@ -323,7 +323,7 @@ myHsx :: QuasiQuoter myHsx = customHsx (HsxSettings { checkMarkup = True - , additionalTagNames = Set.fromList ["book", "title", "name"] + , additionalTagNames = Set.fromList ["book", "heading", "name"] , additionalAttributeNames = Set.fromList ["_", "custom-attribute"] } ) @@ -350,8 +350,8 @@ import Application.Helper.CustomHsx (myHsx) -- Add this line ```haskell [myHsx| - - My Book + + My Book Author Name |] diff --git a/ihp-hsx/README.md b/ihp-hsx/README.md index 85068d62b..18d86192d 100644 --- a/ihp-hsx/README.md +++ b/ihp-hsx/README.md @@ -287,9 +287,9 @@ It will still check for a valid HTML structure, but it will accept any tag and a ```haskell [uncheckedHsx| - + Content - + |] ``` @@ -319,7 +319,7 @@ myHsx :: QuasiQuoter myHsx = customHsx (HsxSettings { checkMarkup = True - , additionalTagNames = Set.fromList ["book", "title", "name"] + , additionalTagNames = Set.fromList ["book", "heading", "name"] , additionalAttributeNames = Set.fromList ["_", "custom-attribute"] } ) @@ -346,8 +346,8 @@ import Application.Helper.CustomHsx (myHsx) -- Add this line ```haskell [myHsx| - - My Book + + My Book Author Name |]