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

For example in translated sentence i want underline or set italic effect on one word how i do that ?

I tried  <em>  word  </em> but it doesn't work.

1 Answer

+2 votes
by
 
Best answer
Yes, the translated phrases are escaped for output to HTML, so you cannot embed HTML within them. Your easiest solution would be to modify function qa_lang_html() in qa-base.php to perform the reverse substitution, e.g. replace '&lt;em&rt;' with '<em>'. You probably shouldn't remove the HTML escaping entirely because of other phrases.
...