[pollen] Re: How to create a tag whose content is modified before rendering?

2018-01-20 Thread clozach
Oops! Never mind. I was just missing a pair of parentheses around the `default-tag-function`. Solution (*pollen.rkt*) *#lang racket/base(require pollen/tag racket/string txexpr pollen/decode)(provide (all-defined-out))(define (title text) ((default-tag-function 'book-title)

[pollen] How to create a tag whose content is modified before rendering?

2018-01-20 Thread clozach
*How can I achieve the Desired Output as shown below?* I think I'm running into an issue with `define`. According to the docs, there are two forms of `define`, one which binds to the result of an expression, and the other to a procedure. It seems as if the 2nd, parameter-taking form is somehow