I'm currently working on a page that uses a HTML wrapper supplied by the client. We inject our content into the wrapper and then render the page.
This wrapper links to other JavaScript libraries. When I inspect the element, I can see that one of my elements has been modified to appear as the following:
<li class="directory-result-text" fire="function() {
return __method.apply(null, [this].concat($A(arguments)));
}" observe="function() {
return __method.apply(null, [this].concat($A(arguments)));
}" stopObserving="function() {
return __method.apply(null, [this].concat($A(arguments)));
}" visible="function() {
<!--..and it goes on like this for a while...-->
}">
We use jQuery and none of our elements ever appear like this. Can somebody please tell me what might be causing this and how I can prevent it from happening to our content?