function ueditor_replace_pagebeaketag in UEditor - 百度编辑器 7.3
Same name and namespace in other branches
- 7.2 ueditor.module \ueditor_replace_pagebeaketag()
Replace page break tag.
1 call to ueditor_replace_pagebeaketag()
- ueditor_entity_presave in ./
ueditor.module - Implements hook_entity_presave().
File
- ./
ueditor.module, line 587 - Integration ueditor for wysiwyg.
Code
function ueditor_replace_pagebeaketag($body, $words) {
$body = str_replace(htmlentities(variable_get('paging_separator', '<!--pagebreak-->')), $words, $body);
return $body;
}