aowow icon indicating copy to clipboard operation
aowow copied to clipboard

Profile tooltips case mismatch

Open Sarjuuk opened this issue 11 months ago • 0 comments

to investigate:

requesting link: ?profile=eu.pure-pwnage.P%C3%BBpp%C3%AF

server response:

$WowheadPower.registerProfile('eu.pure-pwnage.p%C3%BBpp%C3%AF', 0, {
    "name_enus": "Pûppï the Light of Dawn",
    "tooltip_enus": "<table><tr><td><b class=\"q\">Pûppï the Light of Dawn</b></td></tr><tr><td>&lt;Rebørn&gt;</td></tr><tr><td>Level 80 Blood Elf Priest</td></tr></table>",
    "icon": $WH.g_getProfileIcon(10, 5, 1, 80, 'chr_bloodelf_female_priest04')
});

tooltip will not load as the char name in registerProfile() is lowercase and expected as ucFirst as in the request. The change in case is specific to certain chars.

Sarjuuk avatar Mar 16 '24 19:03 Sarjuuk