Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML symbol codes in page <title> not showing as readable text in Tooltips #15418

Open
endrep0 opened this issue Jan 19, 2020 · 3 comments
Open
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Data Integrity & Accuracy

Comments

@endrep0
Copy link

endrep0 commented Jan 19, 2020

If a page has this title tag:
<title>John&#39;s books</title>

Then the visitor log will correctly show it as John's books.

However the TOOLTIPS in the Visits Log and the dashboard Visits In Real Time box don't translate it correctly:

<span class='tooltip-action-page-title'>John&amp;amp;#039;s books</span>

The text will wrongly show as John&#39;s books to the eyes of the human reader in the tooltips.

It's quite possible that all HTML symbol codes in title are affected, not just the apostrophe.

@endrep0 endrep0 changed the title HTML symbol codes in page <title> not translating to readable text in Tooltips HTML symbol codes in page <title> not showing asreadable text in Tooltips Jan 19, 2020
@endrep0 endrep0 changed the title HTML symbol codes in page <title> not showing asreadable text in Tooltips HTML symbol codes in page <title> not showing as readable text in Tooltips Jan 19, 2020
@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 20, 2020
@tsteur tsteur added this to the 4.2.0 milestone Jan 20, 2020
@tsteur
Copy link
Member

tsteur commented Jan 20, 2020

Thanks for reporting @endrep0

@paolobenve
Copy link

I confirm this bug.

I have a page whose title has an apostrophe. In Behaviour -> Page titles, the Apostrophe is correctly rendered:

name

but in the tooltip of real-time visits (I have this box in the dashboard), the corresponding html entity "'" is shown:

tooltip

@paolobenve
Copy link

Inspecting the html page I could see that the reason is that &#039; is converted to &amp;#039;.

@mattab mattab added c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Data Integrity & Accuracy labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Data Integrity & Accuracy
Projects
None yet
Development

No branches or pull requests

4 participants