tantek.com

↳ In reply to

issue 2 of GitHub project “h-card”


This is precisely what the microformats2 "u-" property prefix is for, to instruct the  parser to retrieve and parse for URL-like information from an element, from its URL-related attribute if any, and text content as a fallback, including relative URL resolution if applicable. E.g. in the example you gave, try u-tel instead of p-tel:

 <a class="u-tel" href="tel:13335553483">(333) 555 FIVE</a>

If that works as desired, go ahead and close this issue.

on (ttk.me t5Eo1) using BBEdit