{"issue":{"created_at":"2011-11-29T17:58:28Z","state":"closed","updated_at":"2011-11-29T17:58:31Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":2,"body":"Im Newsletter gibt es die Einstellung \"Als Text senden\". Wenn dieser Punkt angehakt ist, ist logischerweise kein HTML-Inhalt vorhanden. Der Textinhalt wird aber im Reader nicht wiedergegeben und ist auch in den Template-Variablen nicht enthalten, so dass eine Anpassung des Templates nichts verbessert.\n\nIch habe kurzerhand in der Moduldatei **ModuleNewsReader.php** eine kleine Änderung vorgenommen, die ich auch als Lösung vorschlagen möchte:\n\nOriginal:\n`    $strContent = str_ireplace(' align=\"center\"', '', $objNewsletter->content);`\n\nModifiziert:\n`    if( $objNewsletter->sendText != '1' )`\n`       $strContent = str_ireplace(' align=\"center\"', '', $objNewsletter->content);`\n`    else`\n`       $strContent = nl2br( $objNewsletter->text );`\n\n--- _Originally created by do_while on January 31st, 2010, at 12:33pm (ID 1478)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"newsletter","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/newsletter"}],"id":2388991,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1478,"title":"Newsreader zeigt keine Text-Newsletter","closed_at":"2011-11-29T17:58:31Z","html_url":"https://github.com/contao/import/issues/1478","url":"https://api.github.com/repos/contao/import/issues/1478","milestone":{"created_at":"2011-11-29T15:29:32Z","state":"closed","closed_issues":260,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":9,"title":"2.8.0","description":"TYPOlight 2.8.0 (minor release)","open_issues":0,"url":"https://api.github.com/repos/contao/import/milestones/9"}},"action":"created","comment":{"created_at":"2011-11-29T17:58:29Z","updated_at":"2011-11-29T17:58:29Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"Behoben in adbab25c8320dcac7336270548b74cbc.\n\n--- _Originally created on February 1st, 2010, at 11:26am_","id":2938639,"url":"https://api.github.com/repos/contao/import/issues/comments/2938639"}}