_filter_autop
function _filter_autop
_filter_autop($text)
Converts line breaks into <p> and <br> in an intelligent fashion.
Based on: http://photomatt.net/scripts/autop
Related topics
- Standard filters
- Filters implemented by the Filter module.
File
- core/modules/filter/filter.module, line 693
- Framework for handling the filtering of content.
Code
function _filter_autop($text) { // All block level tags $block = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|option|fo