Skip to content
Browse files

simplify indentation

  • Loading branch information...
1 parent 45f6d76 commit 56a223eda631371262d44b541d04d0ea22b904f4 @mmikulicic committed Mar 29, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 example.haml
  2. +1 −1 src/haml_macro/core.clj
View
1 example.haml
@@ -8,6 +8,7 @@
%tr
%td First
%td Last
+ UGO
%tr
%td Marko
%td Mikulicic
View
2 src/haml_macro/core.clj
@@ -23,7 +23,7 @@
(def anyChar (not-char \newline))
-(defn text [l] (>> (repeated l sspace) (>>== (many anyChar) #(apply str %))))
+(defn text [l] (>>== (many anyChar) #(apply str %)))
(defn textnl [l] (>>== (text l) #(str % "\n")))
(defn statement [l] (delay (either (tag l) (textnl l))))

0 comments on commit 56a223e

Please sign in to comment.
Something went wrong with that request. Please try again.