PHP HTML link formatting library