atom/markdown-preview

HTML style block in markdown applies to Atom chrome/UI.

shelbyKiraM opened this issue · 1 comments

Prerequisites

Description

HTML style block in markdown applies to Atom chrome/UI.

Steps to Reproduce

Open Markdown Preview. Put:


<style>
* {
	font-family: 'inconsolata-g for powerline',verdana,arial,sans-serif;
	font-size:32px;
	color: #2b2b2b;
}
strong {
	color:#2b2b2b;
	font-family:'inconsolata-g for powerline',monospace;
	line-height:7px;
	text-decoration:none;
	font-size:16px;
}
</style>

in a markdown file.

Expected behavior: I expect the preview window to get all those styles.

Actual behavior: It applied to all my chrome.

Reproduces how often: Only tested once.

Versions

apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.27.2
python 2.7.15
git 2.17.1

Additional Information

I don't have a lot of time to experiment, this is just a quick issue.

rsese commented

Thanks for the report!

This looks like a duplicate of #276 so you can subscribe there if you'd like.


Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.