diff options
author | friendica <info@friendica.com> | 2012-04-10 16:31:49 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-10 16:31:49 -0700 |
commit | 9b1bb53234846f8dedbf10f0adf1033593ae26d7 (patch) | |
tree | fe454525594386bb5ed786fa8b45ba460c764132 /include/text.php | |
parent | 703bfcb6d4bd21e68aaabd5f1b256106c505f0e9 (diff) | |
download | volse-hubzilla-9b1bb53234846f8dedbf10f0adf1033593ae26d7.tar.gz volse-hubzilla-9b1bb53234846f8dedbf10f0adf1033593ae26d7.tar.bz2 volse-hubzilla-9b1bb53234846f8dedbf10f0adf1033593ae26d7.zip |
fix_mce_lf on profiles
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index aced9e0a8..4ec59a665 100644 --- a/include/text.php +++ b/include/text.php @@ -1506,3 +1506,8 @@ function undo_post_tagging($s) { return $s; } +function fix_mce_lf($s) { + $s = str_replace("\r\n","\n",$s); + $s = str_replace("\n\n","\n",$s); + return $s; +}
\ No newline at end of file |