Data-link-color not work when I set meta "twitter:widgets:csp" on



Following code works as expected.

<a class="twitter-timeline" href="" data-height="600" data-theme="light" data-link-color="#E81C4F">Tweets by @kamicup</a>
<script async src="" charset="utf-8"></script>

But, adding a line

<meta name="twitter:widgets:csp" content="on">

in the <head> tag cause failure, that data-link-color not to work.

Isn’t it a bug?


A supplied link color is added to the page with inline CSS, which will not work in a CSP environment. Link color is disabled when CSP exists.


I got it now.
Thanks for your reply.