-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beeswax templates fail to splice @
forms
#12
Comments
Welp, that’s a problem! Thanks for the report. |
@
forms
Looks like there are multiple problems happening here.
|
Can you explain further? Tagged x-expressions usually need to be converted by calling |
I'll do some thinking and try to come up with an example, but I'm reasonably sure that with pollen a |
Thanks for your patience @benknoble — it’s been a busy week! I don’t know how long it will take the package server to reflect these commits but once they do you should be able to |
Thanks for working on this! Excited to test it out. |
Hey @otherjoel, sorry it's been so long (new job). I was testing this by doing diff --git i/beeswax-render-article.html w/beeswax-render-article.html
index 3adba27..2aeac28 100644
--- i/beeswax-render-article.html
+++ w/beeswax-render-article.html
@@ -6,8 +6,8 @@
<body><root><h1 id="deep-thought">Deep Thought</h1><p>I am <strong>so</strong> happy to be writing this.</p></root>
The current page is called article.html.
-'(@)
-'(@)
+
+
</body>
</html>
\ No newline at end of file
diff --git i/beeswax-render-barticle.html w/beeswax-render-barticle.html
index b5c54fd..4b49597 100644
--- i/beeswax-render-barticle.html
+++ w/beeswax-render-barticle.html
@@ -6,8 +6,8 @@
<body><root><h1 id="barticle-title">Barticle Title</h1><p>The wonderful second part of the article.</p></root>
The current page is called barticle.html.
-'(@)
-'(@)
+
+
</body>
</html>
\ No newline at end of file
diff --git i/beeswax-render-carticle.html w/beeswax-render-carticle.html
index 670f787..3c74762 100644
--- i/beeswax-render-carticle.html
+++ w/beeswax-render-carticle.html
@@ -6,8 +6,8 @@
<body><root><h1 id="carticle-title">Carticle Title</h1><p>The terrific third part.</p></root>
The current page is called carticle.html.
-'(@)
-'(@)
+
+
</body>
</html>
\ No newline at end of file It looks like this did make the splicing generate empty lines instead of txeprs, but didn't fix the navigation stuff. (Also, I've realized the format of that gist isn't super clear: all the |
OK I see what’s going on. Any You can see this for yourself by removing the definitions of Obviously this is a bug, should be an easy fix. I've opened #16 to track this separately. (Congrats on the new job!) |
And fixed! The package server updated overnight. @benknoble let me know how it looks for you after a |
Will do! |
And, huge thanks for putting the time in on this ❤️ |
I've got a sample based on the second pollen tutorial: https://gist.github.com/benknoble/44a83076ab2c9091e4794274c9214ca8 (see second revision).
Notice the
'(@)
and blank lines where there should be data, as in the pollen version.There are workarounds in some (but probably not all) cases, and it would be nice if this were fixed. (Also, when the body is a call to a tag function that produces a txexpr, it's not HTML-ified right, though I admit I don't have an example of that.)
The text was updated successfully, but these errors were encountered: