vlibTemplate isn't HTML specific. If you use vlibTemplate for an html page, you must consider that it creates source code. Therefore if you have a string with
in it, it will show up in the source code, but HTML doesn't translate to the screen unless it's ine <pre> tags.
If you need to show your newline in an HTML document, then you should do the folowing:
$tmpl-setVar'yourvarname', nl2br$yourvar;
and in your template, you should make sure that you have escaping turned off otherwise it will print the <br>'s, ie:
tmpl_var name=yourvarname escape=none
I hope this helps, for the other stuff like and [url], this isn't the kind of thing supported by vlibTemplate, it's application specific (nothing to do with a template).
Regards,
Kelvin