nydp-html 0.0.6 → 0.0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lisp/tests/html-tag-tests.nydp +1 -1
- data/lib/lisp/to-html.nydp +1 -1
- data/lib/nydp/html/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47d9b6d6f103aae16c3822178b8f9f38e8ba410f
|
4
|
+
data.tar.gz: 3f6ba06cf97d197d19a4022df6b285e3322e47ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42df76213c6aa2f6e26c5c3a36d5e1dd9397189c27d87555d61a770fc0d4ad4f6e0227c44a4a23487e480510a09d32ea6bb2db133dc22b565906e3451e656d01
|
7
|
+
data.tar.gz: 261fcd6fecc87b1dc084a04f49da98aca40f4a6b695070b7ed67d0d9759adf0db188a852b8c727101a0144bc2eafdf207de390ff37fe3a191ea49c853982c5d4
|
data/lib/lisp/to-html.nydp
CHANGED
@@ -62,4 +62,4 @@
|
|
62
62
|
(def html-tag/ (name attrs) "<~|name|~(as-tag-attrs attrs)/>")
|
63
63
|
(def html-tag (name attrs . content) "<~|name|~(as-tag-attrs attrs)>~(apply joinstr "" content)</~|name|>")
|
64
64
|
(def img (src) (html-tag/ "img" { src src }))
|
65
|
-
(def link-to (txt path attrs) (html-tag "a" { href path } txt))
|
65
|
+
(def link-to (txt path attrs) (html-tag "a" (hash-merge { href path } attrs) txt))
|
data/lib/nydp/html/version.rb
CHANGED