changeset 3418 | 7b49fa7e942d |
parent 3369 | 7b88d12b4ee2 |
child 4023 | eae23c40627a |
--- a/common/uilib.py Wed Sep 23 11:22:19 2009 +0200 +++ b/common/uilib.py Wed Sep 23 12:28:28 2009 +0200 @@ -81,7 +81,7 @@ REF_PROG = re.compile(r"<ref\s+rql=([\'\"])([^\1]*?)\1\s*>([^<]*)</ref>", re.U) def _subst_rql(view, obj): delim, rql, descr = obj.groups() - return u'<a href="%s">%s</a>' % (view.build_url(rql=rql), descr) + return u'<a href="%s">%s</a>' % (view._cw.build_url(rql=rql), descr) def html_publish(view, text): """replace <ref rql=''> links by <a href="...">"""