On Aug 8, 2016, at 3:35 PM, Matthew Butterick <[email protected]> wrote:

> The splice mark should never show up. I consider this wrong:
> 
>> <div class="titleblock">
>> <h1><@>Markup in <em>MetaData</em></@></h1>

> So I'll look into that.


I have now looked into that.

I adjusted the `->html` function so that it will handle splice tags correctly.

So if your source file says this:

> #lang pollen/markup
> â—Š(define-meta title â—Š@{Markup in â—Šem{MetaData}})


And your template says this:

> <h1>â—Š(->html (hash-ref metas 'title))</h1>



The splicing should now work correctly.


This is an edge-case problem. It only seems to surface when you store a splice 
tag in a meta, and then pull it out within a template, because doing that 
circumvents the usual processing of splice tags that happens when a Pollen 
source file runs. 

Anyhow, try out the patch and see if it helps.

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to