tooltips html not show in 4.75 (and 4.7.4)


Topic: tooltips html not show in 4.75 (and 4.7.4)

webmaster1 pro asked 6 years ago

Hi

With jQuery 4.7.5, the HTML tooltips are not displayed. The code have not changed and is working fine from 4.5.10 to 4.7.3.


Bartłomiej Malanowski staff pro premium commented 6 years ago

Do you get any console logs? What's your code?


webmaster1 pro answered 6 years ago

this is the code:

<img src="https://libreria.webcampista.com/libreria/img_iconos/campingoferta.png" alt="Campings" data-toggle="tooltip" data-placement="top" data-html="true" title="" data-original-title="<table><tr><td style='color:green;'>Mostrando.:</td></tr><tr><td  style='color:white;'>Campings</td></tr></table>">

This code is working fine from mdb 4.5.10. I have tested it with 4.7.7 and is not working

in the console i have only errors for roboto font due to CORS policy.


Mikołaj Smoleński staff answered 6 years ago

Hi there,

This issue is connected with the latest XSS vulnerability update of Bootstrap: https://github.com/twbs/bootstrap/releases/tag/v4.3.1.

For this moment I suggest to use bootstrap 4.3.0 version if You still want to pass html expressions to popovers or tooltips.

We'll try to find the way to fix the issue soon.

Best regards


webmaster1 pro answered 6 years ago

Ok, Thanks

i will still using 4..7.3 until the problem is solved


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.4
  • Device: computer
  • Browser: all
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No
Tags