?
avatar Quy
Quy
15 Dec 2017

Steps to reproduce the issue

Go to Global Configuration > Text Filters
Hover cursor over a field under Filter Tags2 column.

Expected result

The number in superscript.

Actual result

<sup>2</sup> markup.

title-superscript

System information (as much as possible)

Additional comments

avatar Quy Quy - open - 15 Dec 2017
avatar joomla-cms-bot joomla-cms-bot - change - 15 Dec 2017
Title
<sup</sup> markup in title attribute
sup markup in title attribute
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Dec 2017
avatar Quy Quy - change - 15 Dec 2017
Title
sup markup in title attribute
markup in title attribute
avatar Quy Quy - edited - 15 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Dec 2017
Category Code style UI/UX
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Dec 2017
Status New Confirmed
avatar joomla-cms-bot joomla-cms-bot - edited - 15 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 15 Dec 2017

Issue confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19074.

avatar dgt41
dgt41 - comment - 16 Dec 2017

This is related to tool tips and to be more specific the lack of tooltips!

avatar Quy Quy - change - 17 Dec 2017
Title
markup in title attribute
markup in title attribute does not render in tooltip
avatar Quy Quy - edited - 17 Dec 2017
avatar brianteeman
brianteeman - comment - 19 Dec 2017

isn't this the same as #17255

avatar Quy
Quy - comment - 19 Dec 2017

Yes, but for v3. Close this one?

avatar brianteeman
brianteeman - comment - 19 Dec 2017

Ah - so not technically the same then ;)
This can be fixed for J3 by using a tooltip/popover which it should have been for consistency anyway in J3

avatar Quy
Quy - comment - 19 Dec 2017

A possible solution without using a tooltip/popover is to do a string replace <sup>2</sup> to &sup2;, however, the font size is a tad smaller. Would this be a consideration?

avatar brianteeman
brianteeman - comment - 19 Dec 2017

downside is that would mean all language files would have to be updated

avatar Quy
Quy - comment - 19 Dec 2017

Not necessarily. It can be changed where the title attribute is only.

title="' . JText::_('JGLOBAL_FILTER_TAGS_LABEL') . '"'
to
title="' . str_replace('<sup>2</sup>', '&sup2;', JText::_('JGLOBAL_FILTER_TAGS_LABEL')) . '"'

I know it is a brute force way of doing so don't know if this is acceptable.

avatar brianteeman
brianteeman - comment - 19 Dec 2017

Really not a fan. That's very hacky and for consistency of the ui it should be a tooltip/popover anyway

avatar brianteeman
brianteeman - comment - 19 Dec 2017

Closed see #19104

avatar brianteeman brianteeman - change - 19 Dec 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-12-19 17:35:02
Closed_By brianteeman
avatar brianteeman brianteeman - close - 19 Dec 2017

Add a Comment

Login with GitHub to post a comment