You are here

function ueditor_replace_pagebeaketag in UEditor - 百度编辑器 7.2

Same name and namespace in other branches
  1. 7.3 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 598
Integration ueditor for wysiwyg.

Code

function ueditor_replace_pagebeaketag($body, $words) {
  $body = str_replace(htmlentities(variable_get('paging_separator', '<!--pagebreak-->')), $words, $body);
  return $body;
}