Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -N -r1.226 -r1.227 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Apr 2008 12:05:47 -0000 1.226 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 16 Apr 2008 20:22:39 -0000 1.227 @@ -975,6 +975,7 @@ if {$update_references || $unresolved_references > 0} { my update_references $item_id [lsort -unique $references] } + unset references set html [expr {$render_adp ? [my adp_subst $content] : $content}] if {[::xo::cc get_parameter content-type text/html] eq "text/html"} { append html "