diff --git a/view/theme/frio/templates/profile_vcard.tpl b/view/theme/frio/templates/profile_vcard.tpl index 02aa89fcc..b00e82321 100644 --- a/view/theme/frio/templates/profile_vcard.tpl +++ b/view/theme/frio/templates/profile_vcard.tpl @@ -39,7 +39,7 @@

{{$profile.name}}

- {{if $profile.addr}}
{{$profile.addr}}
{{/if}} + {{if $profile.addr}}
{{include file="sub/punct_wrap.tpl" text=$profile.addr}}
{{/if}} {{if $profile.pdesc}}
{{$profile.pdesc}}
{{/if}} @@ -92,7 +92,7 @@ {{if $profile.xmpp}}
- {{$profile.xmpp}} + {{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}
{{/if}} @@ -119,7 +119,7 @@ {{if $homepage}}
- {{$profile.homepage}} + {{include file="sub/punct_wrap.tpl" text=$profile.homepage}}
{{/if}} diff --git a/view/theme/frio/templates/sub/punct_wrap.tpl b/view/theme/frio/templates/sub/punct_wrap.tpl new file mode 100644 index 000000000..68830ecd6 --- /dev/null +++ b/view/theme/frio/templates/sub/punct_wrap.tpl @@ -0,0 +1 @@ +{{$text|regex_replace:"/([@\.\/])/":"$1" nofilter}}