The resulting ' link"> ' is a quoting bug, which I've just now fixed on HEAD:
http://cvs.openacs.org/cvs/openacs-4/packages/acs-templating/tcl/richtext-procs.tcl.diff?r1=1.5&r2=1.6&f=h
The <p> ... </p> around the contents is an attempt to make the output proper HTML, but it does result in annoying whitespace.
Any better suggestion? Should we resort to open-ended <p>'s between paragraphs like we used to?
The code that does this is these two lines in util_convert_line_breaks_to_html in packages/acs-tcl/tcl/text-html-procs.tcl, in case you want to take it out on your own system:
# Wrap P's around paragraphs
set text "<p>$text</p>"
regsub -all {([^\n\s])\n\n([^\n\s])} $text {\1</p><p>\2} text
/Lars