Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Created Unassigned: Wrong CSS by copy to HTML clipboard [9067]

$
0
0
Hello,
if i use the following html code with the following stylesheet and copy it to the clipboard the content is wrong. So the color is also used for the single `p` tag. In the html renderer control the color is shown correctly only the clipbord content is not correct.

Source
```
<blockquote>
<p>foo</p>
</blockquote>

<p>bar</p>

```

CSS
```
blockquote p {
color: #f00;
}
```

HTML clipboard content
```
<html>
<body>
<!--StartFragment-->
<blockquote>
<p style="color: #f00;">foo</p>
</blockquote><p style="color: #f00;">bar</p>
<!--EndFragment-->
</body>
</html>
```

The correct content should be
```
<html>
<body>
<!--StartFragment-->
<blockquote>
<p style="color: #f00;">foo</p>
</blockquote><p>bar</p>
<!--EndFragment-->
</body>
</html>
```

Can you please fix this.
Thank you.

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>