Estas Aqui > Les forums > Website > Writing a newline \n character actually makes a new line. sv ru pl en fr

Foros

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

Nuevo tema  - Responder
Autor Respuestas
Dr Phil Miercoles 9 Diciembre 2009 a las 19:01 - [Citar]
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.

Editado por: Dr Phil

Dr Phil Miercoles 9 Diciembre 2009 a las 19:02 - [Citar]
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.

Editado por: Dr Phil

Il n'y a rien à voir ici