I really really do not understand whats happening with the small piece of code as below:

<td class="remove"><img src="catalog/view/theme/mytheme/image/remove-small.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" onclick="$('#cart').load('index.php?route=module/cart&remove=<?php echo $product['key']; ?> #cart > *');" /></td>

Below small piece of code from above code is still visible in my website

*');" />

Previously it was working fine with the same code. and now suddenly it shows this.

For me, code looks pretty fine. Could anybody please help me out.

I will really appreciate your help. I also need to learn and know where it is getting wrong.