Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

If I want to put line break in place of hyphen in below message

'email_invalid' => 'Email is invalid - please check carefully',

How can I put line break ?

Q2A version: 1.5.3

1 Answer

0 votes
Best answer

change message as shown below

'email_invalid' => 'Email is invalid <br/> please check carefully',

in 'qa-lang-users.php'

then change line as shown below where your want to use it

return str_replace("&lt;br/&gt;","<br/>", qa_lang_html('users/email_invalid'));

instead of    return qa_lang('users/email_invalid');