commit 5747d6c575a258a0ed0f91f4eb52b1a8337ffb10 parent b5449a6c81265e1749459c7c32661fb65b58e38c Author: Matthew Flatt <mflatt@racket-lang.org> Date: Tue, 15 Mar 2011 11:07:59 -0600 Scribble: fix caching of hyperlinked identifiers original commit: 343b6fb00813b5d0c04ca40f7794dc5ad714280e Diffstat:
| M | collects/scribble/racket.rkt | | | 3 | ++- |
| A | collects/tests/scribble/docs/codeblock-quote.scrbl | | | 10 | ++++++++++ |
| A | collects/tests/scribble/docs/codeblock-quote.txt | | | 6 | ++++++ |
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/collects/scribble/racket.rkt b/collects/scribble/racket.rkt @@ -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 diff --git a/collects/tests/scribble/docs/codeblock-quote.scrbl b/collects/tests/scribble/docs/codeblock-quote.scrbl @@ -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.}] + }| diff --git a/collects/tests/scribble/docs/codeblock-quote.txt b/collects/tests/scribble/docs/codeblock-quote.txt @@ -0,0 +1,5 @@ + +quote + + @itemlist[#:style 'ordered + @item{Eat cookie.}] +\ No newline at end of file