Menu

#76 new function convertLang2Html()

closed-fixed
None
5
2006-11-22
2006-10-27
Tim Gerundt
No

I would suggest a new function to simplify the source
code a little bit:

--------------------8<--------------------
// Convert a language string to HTML
function convertLang2Html($langstring) {
return htmlentities($langstring, ENT_COMPAT, 'UTF-8');
}
-------------------->8--------------------

With this function you could replace all the
"htmlentities($xyz, ENT_COMPAT, 'UTF-8')" calls with a
more readable "convertLang2Html($xyz)".

Greetings,
Tim

Discussion

  • Anonymous

    Anonymous - 2006-11-22

    Logged In: YES
    user_id=529507
    Originator: NO

    Fixed in CVS.

    It'll be included in next release.

    But you can donwload daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the feature request.

     
  • Anonymous

    Anonymous - 2006-11-22
    • assigned_to: nobody --> goddess_skuld
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB