Skip to content

Commit

Permalink
reset some unecessary whitespace stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kodeFant committed Oct 31, 2024
1 parent 6f6480a commit ef158e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ihp-hsx/IHP/HSX/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -625,4 +625,4 @@ collapseSpace text = cs $ filterDuplicateSpaces (cs text)
filterDuplicateSpaces' (char:rest) True | Char.isSpace char = filterDuplicateSpaces' rest True
filterDuplicateSpaces' (char:rest) False | Char.isSpace char = ' ':(filterDuplicateSpaces' rest True)
filterDuplicateSpaces' (char:rest) isRemovingSpaces = char:(filterDuplicateSpaces' rest False)
filterDuplicateSpaces' [] isRemovingSpaces = []
filterDuplicateSpaces' [] isRemovingSpaces = []
3 changes: 2 additions & 1 deletion ihp-hsx/IHP/HSX/QQ.hs
Original file line number Diff line number Diff line change
Expand Up @@ -458,4 +458,5 @@ textToStaticString text = StaticString (Text.unpack text ++) (Text.encodeUtf8 te
{-# INLINE textToStaticString #-}

instance Show (MarkupM ()) where
show html = BlazeString.renderHtml html
show html = BlazeString.renderHtml html

0 comments on commit ef158e4

Please sign in to comment.