remove spaces from generated tel: links

This commit is contained in:
Grahame Grieve 2020-09-22 02:14:23 +10:00
parent eba38941d3
commit d07966e422
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ public class DataRenderer extends Renderer {
break;
case PHONE:
if (contact.hasValue() && contact.getValue().startsWith("+")) {
x.ah("tel:"+contact.getValue()).tx(contact.getValue());
x.ah("tel:"+contact.getValue().replace(" ", "")).tx(contact.getValue());
} else {
x.addText(displayContactPoint(contact));
}