To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4533

Show
Ignore:
Timestamp:
02/01/12 09:21:28 (4 months ago)
Author:
tboutell
Message:

Documented aHtml::toPlaintext() to reduce future occurrences of #1218

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/1.5/lib/toolkit/aHtml.class.php

    r4501 r4533  
    826826 
    827827  /** 
    828    * DOCUMENT ME 
    829    * @param mixed $html 
    830    * @return mixed 
     828   * Converts input string to true plaintext (BE CAREFUL: use aHtml::entities() if you display 
     829   * it later). Nonbreaking spaces become vanilla spaces, tags re removed and entities are 
     830   * decoded according to UTF-8 
     831   * @param string $html 
     832   * @return string 
    831833   */ 
    832834  static public function toPlaintext($html)