# Beim Hochladen eines weißen SVG-Logos werden die Stile entfernt und es wird schwarz

**URL:** <https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575>\
**Category:** Bug\
**Created:** [7. Februar 2019 um 08:46 UTC](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575 "2019-02-07T08:46:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [7. Februar 2019 um 09:41 UTC](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575/2 "2019-02-07T09:41:48Z")

</div>

It’s because we automatically remove `<style>` in SVGs for security reasons. Try inline styles instead.

* * *

Now that I think about it, it’s kinda pointless to block `<style>` tags but not inline styles…  
Maybe we should allow them as this has generated more support question than actual security issues?

---

_[View the full topic](https://meta.discourse.org/t/uploading-a-white-svg-logo-gets-it-styles-removed-and-becomes-black/108575)._
