Index: openacs-4/packages/xowiki/tcl/notification-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/notification-procs.tcl,v diff -u -r1.21.2.2 -r1.21.2.3 --- openacs-4/packages/xowiki/tcl/notification-procs.tcl 19 Feb 2016 19:09:41 -0000 1.21.2.2 +++ openacs-4/packages/xowiki/tcl/notification-procs.tcl 25 Nov 2016 14:46:19 -0000 1.21.2.3 @@ -113,7 +113,7 @@ ns_log notice "--n xowiki::notification NO notification due to production state" return } - + set pretty_link [$page pretty_link] $page absolute_links 1 if {![info exists html]} { set html [$page notification_render] @@ -126,6 +126,14 @@ #ns_log notice "--n notification renderer returned emtpy for page [$page name] (revision_id $revision_id). Nothing to do" return } + + # + # Turn relative URLs into absolute URLs such that links in + # notification still work. The function supports as well non-wiki + # links. Here we are able to provide an accurate pretty_link as + # base-url. + # + set html [ad_html_qualify_links -path [file dirname $pretty_link] $html] if {![info exists text]} { set text [ad_html_text_convert -from text/html -to text/plain -- $html]