Skip to content

Commit 993f7f6

Browse files
committed
fix content->string on links
Apparently, a link used to have its title in slot 1 of the vector, but it's currently in 0. There's a `FIXME` to do something better, but for now, just sync with the current representation.
1 parent 2e679f4 commit 993f7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scribble-lib/scribble/core.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
(if dest
697697
(content->port op
698698
(strip-aux
699-
(if (pair? dest) (cadr dest) (vector-ref dest 1)))
699+
(if (pair? dest) (cadr dest) (vector-ref dest 0)))
700700
renderer sec ri)
701701
(display "???" op)))]
702702
[(element? c) (content->port op (element-content c) renderer sec ri)]

0 commit comments

Comments
 (0)