mazun/SlackStream

Raw object in a <style> tag

Opened this issue · 1 comments

There inserted a raw object (not the string representation of it) in a <style> tag in the html header.

style

I totally don't see how it works, but after commenting-out the codes that insert this <style> tag (e.g. this line), I got:

  • no <style>[object Object]</style>, which is good
  • some magical properties automatically inserted by Angular are also deleted, which breaks the actual layout and thus must not happen

Before commenting-out: <ss-teamicon> has the _nghost-c0 property and <img> has the _ngcontent-c0 property (automatically added by Angular).
with_style

After commenting out: both _nghost-c0 and _ngcontent-c0 disappear, and the layout breaks.
without_style