Vous êtes ici > Les forums > Website > Writing a newline \n character actually makes a new line. sv ru pl es en

Les forums

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

Nouveau  - Répondre
Auteur Posts
Dr Phil Le Mercredi 9 Decembre 2009 à 19:01 - [Citer]
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.

Edité par Dr Phil

Dr Phil Le Mercredi 9 Decembre 2009 à 19:02 - [Citer]
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.

Edité par Dr Phil

Il n'y a rien à voir ici