Bootstrap: font color on popover data-content don't work

Created on 16 Feb 2020  路  4Comments  路  Source: twbs/bootstrap

Hi,

when i try to use in popover data-content (or title) with data-html="true", the text inside the font color disappear.

Next I try with a , the color of the text don't change.

I don't know if it's a bug or not because i can't find if the balise font is supported in the data-content of popover.

Edit :

the reduced test case :
https://jsbin.com/tesupir/1/edit?html,output

Bootstrap 4.3.1 (cf test case)
Browser : Firefox 73.0 / Chrome 80.0.3987.106 / Edge 18362
OS : Windows 10

awaiting-reply

Most helpful comment

check check

All 4 comments

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen/JS Bin or Stackblitz and report back with your link, Bootstrap version, and specific browser and OS details.

This is an automated reply

check check

Hi,

the reduced test case :
https://jsbin.com/tesupir/1/edit?html,output

Bootstrap 4.3.1 (cf test case)
Browser : Firefox 73.0 / Chrome 80.0.3987.106 / Edge 18362
OS : Windows 10

Regards

Bootstrap sanitize html content for security reason. Please see
https://getbootstrap.com/docs/4.4/getting-started/javascript/#sanitizer

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leomao10 picture leomao10  路  3Comments

ziyi2 picture ziyi2  路  3Comments

knownasilya picture knownasilya  路  3Comments

devfrey picture devfrey  路  3Comments

devdelimited picture devdelimited  路  3Comments