diff --git a/plugins/participants/participant.html b/plugins/participants/participant.html index f400ac48a..540c8c6fc 100644 --- a/plugins/participants/participant.html +++ b/plugins/participants/participant.html @@ -7,10 +7,10 @@
- <% print( MM.util.formatText(user.fullname)); %> + <%= MM.util.formatText(user.fullname) %>
-

<% print( MM.util.formatText(user.fullname)); %>

+

<%= MM.util.formatText(user.fullname) %>

@@ -20,24 +20,24 @@

<%= MM.lang.s("contact") %>

<% var fields = ["email", "address", "city", "country", "phone1", "phone2"]; %> <% _.each(fields, function(field) { %> <% if (user[field]) { %> -
  • <% print(MM.lang.s(field)); %>: +
  • <%= MM.lang.s(field) %>: <% if (field == "phone1" || field == "phone2") { %> - <% print(user[field]); %> + <%= MM.util.formatText(user[field], true) %> <% } else if (field == "address") { %> <% var add = user[field]; %> - <% add += (user["city"]) ? "," + user["city"] : ""; %> - <% add += (user["country"]) ? "," + user["country"] : ""; %> + <% add += (user["city"]) ? "," + MM.util.formatText(user["city"], true) : ""; %> + <% add += (user["country"]) ? "," + MM.util.formatText(user["country"], true) : ""; %> <% add = encodeURIComponent(add); %> <% if (MM.deviceOS == "android") { %> - <% print(user[field]); %> + <%= MM.util.formatText(user[field]) %> <% } else { %> - <% print(user[field]); %> + <%= MM.util.formatText(user[field]) %> <% } %> <% } else { %> - <% print( MM.util.formatText(user[field])); %> + <%= MM.util.formatText(user[field]) %> <% } %>
  • <% } %> @@ -46,7 +46,7 @@

    <%= MM.lang.s("contact") %>

    <% if (user.description) { %>

    <%= MM.lang.s("description") %>

    -
    <% print( MM.util.formatText(user.description)); %>
    +
    <%= MM.util.formatText(user.description) %>
    <% } %>