◊(Local Yarn Code "Check-in [5cdf3aa9]")

Overview
Comment:Don't allow unbound ids to be used as tag functions
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5cdf3aa9471227ce0086a8b19a10eae5e08d0d27c54c6bf24cc7a092e14f1b05
User & Date: joel on 2020-05-04 01:43:59
Other Links: manifest | tags
Context
2020-05-04
01:54
Define img tag function explicitly for home page (since unbound ids aren't allowed anymore) check-in: 19db9f05 user: joel tags: trunk
01:43
Don't allow unbound ids to be used as tag functions check-in: 5cdf3aa9 user: joel tags: trunk
2020-03-31
03:49
Make xref tag more convenient, update code docs check-in: 63baf301 user: joel tags: trunk
Changes

Modified pollen.rkt from [b8678611] to [8f4969dd].

22
23
24
25
26
27
28


29
30
31
32
33
34
35

(module setup racket/base
  (require syntax/modresolve
           racket/runtime-path
           pollen/setup)
  (provide (all-defined-out))
  (define poly-targets '(html))


  (define block-tags (append '(title style dt note) default-block-tags))

  (define-runtime-path tags-html.rkt     "tags-html.rkt")
  (define-runtime-path snippets-html.rkt "snippets-html.rkt")
  (define-runtime-path dust.rkt          "dust.rkt")
  (define-runtime-path crystalize.rkt    "crystalize.rkt")
  (define-runtime-path cache.rkt         "cache.rkt")







>
>







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

(module setup racket/base
  (require syntax/modresolve
           racket/runtime-path
           pollen/setup)
  (provide (all-defined-out))
  (define poly-targets '(html))
  (define allow-unbound-ids? #f)
  
  (define block-tags (append '(title style dt note) default-block-tags))

  (define-runtime-path tags-html.rkt     "tags-html.rkt")
  (define-runtime-path snippets-html.rkt "snippets-html.rkt")
  (define-runtime-path dust.rkt          "dust.rkt")
  (define-runtime-path crystalize.rkt    "crystalize.rkt")
  (define-runtime-path cache.rkt         "cache.rkt")
87
88
89
90
91
92
93

94
95
96
97
98
99
100
(poly-branch-tag mono)
(poly-branch-tag strong)
(poly-branch-tag strike)
;(poly-branch-tag color)
(poly-branch-tag ol)
(poly-branch-tag ul)
(poly-branch-tag item)

(poly-branch-tag sup)
(poly-branch-tag blockquote)
(poly-branch-tag newthought)
(poly-branch-tag sep)
(poly-branch-tag caps)
(poly-branch-tag center)
(poly-branch-tag section)







>







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
(poly-branch-tag mono)
(poly-branch-tag strong)
(poly-branch-tag strike)
;(poly-branch-tag color)
(poly-branch-tag ol)
(poly-branch-tag ul)
(poly-branch-tag item)
(define li item) ; useful alias :-P
(poly-branch-tag sup)
(poly-branch-tag blockquote)
(poly-branch-tag newthought)
(poly-branch-tag sep)
(poly-branch-tag caps)
(poly-branch-tag center)
(poly-branch-tag section)