addthis html block error

hello every one i’m trying to put addthis code in html block



using cscart 3.0.3


<br />
<!-- AddThis Button BEGIN --><br />
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"><br />
<a class="addthis_button_preferred_1"></a><br />
<a class="addthis_button_preferred_2"></a><br />
<a class="addthis_button_preferred_3"></a><br />
<a class="addthis_button_preferred_4"></a><br />
<a class="addthis_button_compact"></a><br />
<a class="addthis_counter addthis_bubble_style"></a><br />
</div><br />
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-5070793e363f915e"></script><br />
<!-- AddThis Button END --><br />

```<br />
<br />
but when i save the html block it appears blank no pictures or links <img src="upload://yuxgmvDDEGIQPAyP9sRnK0D0CCY.gif" class="bbc_emoticon" alt=":shock:"><br />
<br />
then i open the html block to see what's wrong i found the code was change to this<br />
<br />
```php
<br />
<!-- AddThis Button BEGIN --><br />
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"><br />
	 </div><br />
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-5070793e363f915e"></script><!-- AddThis Button END --><br />

```<br />
<br />
so guys is this reguler or theres somthing wrong over here ?<br />
<br />
thanks to you all in advance for help me out

Something is stripping out the empty anchor tags but I doubt it is cs-cart.

Is your listing above from a “view source” or an “inspect element”?

The view source will show you what the source of the page looks like before being interpreted by the browser and the inspect element will show you that has been modified in the DOM and is being rendered by your browser.



If you are in view-source mode, I'd stick a comment in the middle of all those anchor tags like


and see if it shows up.

it gave this

```php





```

It gave that as a 'view source' or as na 'inspect element'?

Disable the WYSIWYG editor

Re-add your AddThis code

Save

Problem should be fixed.

[quote name='updateshop' timestamp='1349790761' post='146714']

Disable the WYSIWYG editor

Re-add your AddThis code

Save

Problem should be fixed.

[/quote]

thanks thats solve my problem



b.r.