Function vanilla_tinymce_wpautopbr
Takes a string which is meant to have been produced by TinyMCE and possibly contains shortcodes and removes any extraneous opening and closing paragrpahs and/or breaking lines from its beginning or end.
License:
GPLv3
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at tinymce/vanilla-tinymce.php
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at tinymce/vanilla-tinymce.php
Parameters summary
string |
$content |
The input string to clean. |
Return value summary
string
|
The input string cleaned. |