Index: openacs-4/packages/lorsm/templates/lorsm-default.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/templates/lorsm-default.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/lorsm/templates/lorsm-default.tcl 21 Apr 2005 16:03:53 -0000 1.5 +++ openacs-4/packages/lorsm/templates/lorsm-default.tcl 26 Apr 2005 16:48:29 -0000 1.6 @@ -32,7 +32,7 @@ if { [string eq $content(mime_type) "text/html"] && [regexp -nocase {} $text match] } { set html_document_p 1 # parent window - regsub -all -nocase {target=[^ |^>]+} $text {target="_parent"} text + regsub -all -nocase {target=.?(_top)} $text {target="content"} text } # We set all this blank variables in the case that the ims_item does Index: openacs-4/packages/lorsm/templates/lorsm-no-index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/templates/lorsm-no-index.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/lorsm/templates/lorsm-no-index.tcl 26 Apr 2005 08:56:24 -0000 1.3 +++ openacs-4/packages/lorsm/templates/lorsm-no-index.tcl 26 Apr 2005 16:48:29 -0000 1.4 @@ -91,10 +91,6 @@ } } - # parent window - regsub -all -nocase {target=[^ |^>]+} $text {target="_parent"} text - - } ad_return_template