HTML_DISPLAYED URLs are phishing bait text (display-only) and should
not be considered for CTA (call-to-action) detection. Only real link
targets should be analyzed for CTA purposes.
if (!(u->protocol == PROTOCOL_HTTP || u->protocol == PROTOCOL_HTTPS)) continue;
if (u->flags & RSPAMD_URL_FLAG_INVISIBLE) continue;
if (u->flags & RSPAMD_URL_FLAG_IMAGE) continue;
+ if (u->flags & RSPAMD_URL_FLAG_HTML_DISPLAYED) continue; /* Skip display-only URLs (phishing bait text) */
/* Use button_weight to filter CTA URLs vs technical URLs
* Technical tags like <link rel>, <script src> have weight=0