Jesteś tutaj > Les forums > Website > Writing a newline \n character actually makes a new line. sv ru es en fr

Fora

Writing a newline \\n character actually makes a new line.

Nowy  - Odpowiedz
Autor Odpowiedzi
Dr Phil Data: Środa 9 Grudzień 2009 ŕ 19:01 - [Cytuj]
Membre

Membre
When I wrote some code here in the forums the newline characters actually got converted to real newline characters, making the code unusable.

This is \n on one line in my browser when editing.

Edytowane przez Dr Phil

Dr Phil Data: Środa 9 Grudzień 2009 ŕ 19:02 - [Cytuj]
Membre

Membre
BTW: I am using Google Chrome on Ubuntu 9.10
Gets the same result on Firefox with Ubuntu 9.10 so the problem is probably server-side.

Edytowane przez Dr Phil

Il n'y a rien à voir ici