Currently, the extension uses this regex:
$re = '~<tvar\|([^>]+)>(.*?)</>~u';
when parsing the content of "tvar", but this does not work if the content spans multiple lines, as in
I believe it would work if we set PCRE_DOTALL for this regex (if that is the case, this is an easy bug to fix, so I'm adding the appropriated keyword to the bug report).