auto_typography($str[, $reduce_linebreaks = FALSE])
| Parameters: |
|
|---|---|
| Returns: |
HTML-formatted typography-safe string |
| Return type: |
string |
Formats text so that it is semantically and typographically correct HTML.
This function is an alias for CI_Typography::auto_typography(). For more info, please see the Typography Library documentation.
Usage example:
$string = auto_typography($string);
Note
Typographic formatting can be processor intensive, particularly if you have a lot of content being formatted. If you choose to use this function you may want to consider caching your pages.
Please login to continue.