]> git.mxchange.org Git - friendica.git/blobdiff - view/en/msg-header.tpl
suppress some scraping errors when confronted with hybrid/strange
[friendica.git] / view / en / msg-header.tpl
index bef2a03bbc5644a20c52a7235b9c8b68e7dbe0a2..3d2567f62737c36744379d2b7945cd65d1e6f837 100644 (file)
@@ -17,6 +17,9 @@ tinyMCE.init({
        entity_encoding : "raw",
        add_unload_trigger : false,
        remove_linebreaks : false,
+       force_p_newlines : false,
+       force_br_newlines : true,
+       forced_root_block : '',
        convert_urls: false,
        content_css: "$baseurl/view/custom_tinymce.css",
             //Character count
@@ -51,7 +54,7 @@ tinyMCE.init({
        $(document).ready(function() {
                var uploader = new window.AjaxUpload(
                        'prvmail-upload',
-                       { action: 'wall_upload',
+                       { action: 'wall_upload/$nickname',
                                name: 'userfile',
                                onSubmit: function(file,ext) { $('#profile-rotator').show(); },
                                onComplete: function(file,response) {