contao/core — Issue #3797: Contao LineEnding
Author: tristanlins
Created: 2012-01-11 13:51:58+00:00
State: open

I expect that Contao use unix (\n) line ending instead of dos (\r\n) line ending?
My latest problems with the merge requests, that are contains or not contains a "empty new line" at the end of file comes from a single \r character (without \n).
Git support automatically !(line ending transformation)[http://help.github.com/line-endings/], i hope this prevent my problems in the future.

But in my researches I found some files, that contains the \r character (as far as i can see, all files are in dos mode).
```
./plugins/tinyMCE/plugins/xhtmlxtras/js/cite.js
./plugins/tinyMCE/plugins/xhtmlxtras/js/abbr.js
./plugins/tinyMCE/plugins/xhtmlxtras/js/acronym.js
./plugins/tinyMCE/plugins/xhtmlxtras/css/attributes.css
./plugins/tinyMCE/plugins/xhtmlxtras/css/popup.css
./plugins/tinyMCE/plugins/spellchecker/config.php
./plugins/tinyMCE/plugins/spellchecker/css/content.css
./plugins/tinyMCE/plugins/spellchecker/editor_plugin_src.js
./plugins/tinyMCE/plugins/spellchecker/classes/utils/Logger.php
./plugins/tinyMCE/plugins/spellchecker/classes/GoogleSpell.php
./plugins/tinyMCE/plugins/spellchecker/classes/EnchantSpell.php
./plugins/tinyMCE/plugins/spellchecker/classes/PSpell.php
./plugins/tinyMCE/plugins/spellchecker/classes/PSpellShell.php
./plugins/tinyMCE/plugins/spellchecker/classes/SpellChecker.php
./plugins/tinyMCE/plugins/spellchecker/rpc.php
./plugins/tinyMCE/plugins/inlinepopups/editor_plugin_src.js
./plugins/tinyMCE/plugins/directionality/editor_plugin_src.js
./plugins/tinyMCE/plugins/paste/js/pastetext.js
./plugins/tinyMCE/plugins/paste/js/pasteword.js
./plugins/tinyMCE/plugins/paste/editor_plugin_src.js
./plugins/tinyMCE/plugins/save/editor_plugin_src.js
./plugins/tinyMCE/plugins/style/js/props.js
./plugins/tinyMCE/plugins/style/css/props.css
./plugins/tinyMCE/plugins/style/editor_plugin_src.js
./plugins/tinyMCE/plugins/template/css/template.css
./plugins/tinyMCE/plugins/template/editor_plugin_src.js
./plugins/tinyMCE/plugins/advimage/js/image.js
./plugins/tinyMCE/plugins/advimage/css/advimage.css
./plugins/tinyMCE/plugins/advimage/editor_plugin_src.js
./plugins/tinyMCE/plugins/table/js/cell.js
./plugins/tinyMCE/plugins/table/js/merge_cells.js
./plugins/tinyMCE/plugins/table/js/table.js
./plugins/tinyMCE/plugins/table/js/row.js
./plugins/tinyMCE/plugins/table/css/row.css
./plugins/tinyMCE/plugins/table/css/table.css
./plugins/tinyMCE/plugins/table/css/cell.css
./plugins/tinyMCE/plugins/emotions/js/emotions.js
./plugins/tinyMCE/plugins/emotions/editor_plugin_src.js
./plugins/tinyMCE/plugins/searchreplace/css/searchreplace.css
./plugins/tinyMCE/plugins/autosave/editor_plugin_src.js
./plugins/tinyMCE/plugins/autosave/langs/en.js
./plugins/tinyMCE/utils/editable_selects.js
./plugins/tinyMCE/tiny_mce_gzip.js
./plugins/tinyMCE/themes/simple/skins/default/ui.css
./plugins/tinyMCE/themes/simple/skins/default/content.css
./plugins/tinyMCE/themes/simple/skins/o2k7/ui.css
./plugins/tinyMCE/themes/simple/skins/o2k7/content.css
./plugins/tinyMCE/themes/advanced/js/charmap.js
./plugins/tinyMCE/themes/advanced/js/anchor.js
./plugins/tinyMCE/themes/advanced/js/image.js
./plugins/tinyMCE/themes/advanced/js/color_picker.js
./plugins/tinyMCE/themes/advanced/editor_template_src.js
./plugins/tinyMCE/themes/advanced/skins/default/ui.css
./plugins/tinyMCE/themes/advanced/skins/default/dialog.css
./plugins/tinyMCE/themes/advanced/skins/default/content.css
./plugins/tinyMCE/themes/advanced/skins/o2k7/ui.css
./plugins/tinyMCE/themes/advanced/skins/o2k7/content.css
./plugins/tinyMCE/themes/advanced/skins/highcontrast/ui.css
./plugins/tinyMCE/themes/advanced/skins/highcontrast/content.css
./plugins/tinyMCE/tiny_mce_gzip.php
./system/modules/frontend/templates/ce_headline.xhtml
./system/modules/frontend/templates/ce_accordion_stop.html5
./system/modules/frontend/templates/mod_html.xhtml
./system/modules/frontend/templates/ce_accordion_stop.xhtml
./system/modules/frontend/templates/mod_html.html5
./system/modules/frontend/templates/search_default.xhtml
./system/modules/frontend/templates/ce_html.xhtml
./system/modules/frontend/templates/ce_headline.html5
./system/modules/frontend/templates/ce_html.html5
./system/modules/frontend/templates/search_default.html5
```

Maybe the plugins are absolutely uninteresting but the template files should be converted to unix mode?!