function _responsive_table_filter_process in Responsive Table Filter 7
Implements hook_filter_FILTER_process().
1 string reference to '_responsive_table_filter_process'
- responsive_table_filter_filter_info in ./
responsive_table_filter.module - Implements hook_filter_info().
File
- ./
responsive_table_filter.module, line 26 - Text filter for wrapping <table> tags in a <figure> tag.
Code
function _responsive_table_filter_process($text, $format) {
$text = preg_replace_callback('@<table([^>]*)>(.+?)</table>@s', '_responsive_table_filter_process_table', $text);
return $text;
}