nakoya surume
asked 10 years ago

I try to write article for testing.

(text area, frontend.)
When I enter for new line (tag

in html mode) and save.
all tag

will change to
.

can I stop this auto change?

zens
replied 10 years ago

I mean < p >< / p > change to < b r / > when I submit from frontend.

dominic Staff
replied 10 years ago

Please send me username & password of your site for further checking.

1 Answers
DominicStaff
answered 10 years ago

Hi,
I have checked on our demo and still working fine.
Firstly, please deactivate all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one and let us know if you find the problematic plugin(s). Maybe there is a conflict in plugins.
If you still face there issue, you can send me username & password of your site for further checking (via private answer).
Regards,

zens
replied 10 years ago

thank fo reply, I deactivate all plugin but cannot resolves problem.
I use wordpress 4.2.2 in localhost, cannot sent user and pass to you.

this is screenshot with firebug
http://upic.me/i/69/pd001.jpg

dominic Staff
replied 10 years ago

To resolve this issue, you can open the function.php file then add the following code:

function add_this_script_footer(){ ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(function()
{$('body').html($('body').html().replace(/
\\*/g,"</p><p>"));}); </script> <?php } add_action('wp_footer', 'add_this_script_footer'); ?>

Hope this helps !

Powered by DW Question & Answer Pro