Scribble: fix caching of hyperlinked identifiers

original commit: 343b6fb00813b5d0c04ca40f7794dc5ad714280e
This commit is contained in:
Matthew Flatt 2011-03-15 11:07:59 -06:00
parent b5449a6c81
commit 5747d6c575
3 changed files with 17 additions and 1 deletions

View File

@ -142,7 +142,8 @@
(vector (syntax-e c)
(module-path-index->taglet (caddr b))
(cadddr b)
(list-ref b 5))))])
(list-ref b 5)
(syntax-property c 'display-string))))])
(or (and key
(let ([b (hash-ref id-element-cache key #f)])
(and b

View File

@ -0,0 +1,10 @@
#lang scribble/manual
@(require (for-label racket/base))
@; Make sure this id's typesetting doesn't affect ' below:
@racket[quote]
@codeblock|{
@itemlist[#:style 'ordered
@item{Eat cookie.}]
}|

View File

@ -0,0 +1,5 @@
quote
@itemlist[#:style 'ordered
@item{Eat cookie.}]