Kalgon
Member
Recently we moved webservers and exported our SQL database so we could import it. Easy enough, right? Wrong. Somewhere along the line, instead of inserting breaks \n and \n\n were spammed amongst our database causing this to happen to all our CSS, templates, etc.
and
As you could imagine, we can't have that and we have a fairly large userbase so starting over isn't an option. Is there any simple way to remove all the \n and \n\n from the database without manually editing it all?
and
Code:
<div id="Captcha" data-source="{xen:link misc/captcha}">\n <xen:if is="{$captchaQuestion.question}">\n <div class="ddText"><label for="cq_{$captchaQuestion.hash}">{$captchaQuestion.question}</label></div>\n <input type="text" name="captcha_question_answer" id="cq_{$captchaQuestion.hash}" value="" placeholder="{xen:phrase please_answer_the_question_above}" class="textCtrl OptOut" />\n <xen:else />\n {xen:phrase n_a}\n </xen:if>\n <input type="hidden" name="captcha_question_hash" value="{$captchaQuestion.hash}" />\n</div>
As you could imagine, we can't have that and we have a fairly large userbase so starting over isn't an option. Is there any simple way to remove all the \n and \n\n from the database without manually editing it all?