HTML being removed when rewriting field in Views I have completely stripped all my views/blocks down so they only produce exactly what I put into them..but I created a view and rewrote the fields and this part of my code will not print exactly as it is here:

&lt;div style="background-image: url('sites/all/themes/my-theme/images/my-image.jpg');" class="slides-fullscreen-img"&gt;&lt;/div&gt;


Instead, when the block is rendered I get:

&lt;div class="slides-fullscreen-img"&gt;&lt;/div&gt;


So it strips away come of my code. Does anyone know how I can get round this problem?
Adding a class and then the style to your stylesheet is the normal practise.  Quick fix

.slides-full-screen-image {
Background-image:  url....

}

If you have more calls to that class where you don't want the image then you should add an additional class name.