Hack method1 (for none-programer)
In the case of upper example: qa-include/qa-app-format.php (around L1600)
//'note' => qa_lang_html('question/notify_email_note'),
'note' => qa_lang('question/notify_email_note'),
Note: *_html() functions excludes HTML tags from output string.
Hack method2 (for programer)
You should override function on your plugin after remodeling qa_lang_html() function in Q2A core.
qa-include/qa-base.php (around L1067)
function qa_lang_html($identifier)
/*
Return the translated string for $identifier, converted to HTML
*/
{
if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); } // <=== Add one line
return qa_html(qa_lang($identifier));
}
Example of override function .
function qa_lang_html($identifier)
{
if($identifier =='question/notify_email_note') {
return qa_lang($identifier);
} else
return qa_lang_html_base($identifier);
}
If you understand PHP, I recommend method 2 with a few modified points of Q2A core. Of course there may be other methods, too.