I’m in the process of setting up AjaxSearch on a site I’m converting to ModX from another CMS. I’ve only used AjaxSearch once before and had no problems. With this implementation, I am getting an empty character before the <form> tag is written.
The output looks like this (from Safari’s inspector)
</div>
" "
<form id="ajaxSearch_form" action="area-information.php" method="post">
<fieldset>
I can’t find any place where a newline or anything is actually inserted before the form tag is rendered, yet it is showing up on my pages. And it’s obtrusive as it’s screwing with the layout. I’ve removed all extra spaces from the layout elements and even adjusted the layout.tpl.html so there are no empty spaces. Can’t seem to get rid of it.
Any ideas?