Format \@teluri in one place
This commit is contained in:
		@@ -290,6 +290,11 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  \def\@mobile{#1}
 | 
					  \def\@mobile{#1}
 | 
				
			||||||
  \def\@teluri{tel:\@mobile}
 | 
					  \def\@teluri{tel:\@mobile}
 | 
				
			||||||
 | 
					  % Strip unwanted characters
 | 
				
			||||||
 | 
					  \StrDel{\@teluri}{ }[\@teluri]%
 | 
				
			||||||
 | 
					  \StrDel{\@teluri}{-}[\@teluri]%
 | 
				
			||||||
 | 
					  \StrDel{\@teluri}{(}[\@teluri]%
 | 
				
			||||||
 | 
					  \StrDel{\@teluri}{)}[\@teluri]%
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
% Defines writer's email (optional)
 | 
					% Defines writer's email (optional)
 | 
				
			||||||
@@ -423,11 +428,6 @@
 | 
				
			|||||||
      \ifthenelse{\isundefined{\@mobile}}%
 | 
					      \ifthenelse{\isundefined{\@mobile}}%
 | 
				
			||||||
        {}%
 | 
					        {}%
 | 
				
			||||||
        {%
 | 
					        {%
 | 
				
			||||||
          % Formats phone number for "tel:" URI
 | 
					 | 
				
			||||||
          \StrDel{\@teluri}{ }[\@teluri]%
 | 
					 | 
				
			||||||
          \StrDel{\@teluri}{-}[\@teluri]%
 | 
					 | 
				
			||||||
          \StrDel{\@teluri}{(}[\@teluri]%
 | 
					 | 
				
			||||||
          \StrDel{\@teluri}{)}[\@teluri]%
 | 
					 | 
				
			||||||
          \href{\@teluri}{\faMobile\acvHeaderIconSep\@mobile}%
 | 
					          \href{\@teluri}{\faMobile\acvHeaderIconSep\@mobile}%
 | 
				
			||||||
          \setbool{isstart}{false}%
 | 
					          \setbool{isstart}{false}%
 | 
				
			||||||
        }%
 | 
					        }%
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user