Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

<enter> becomes <div>

  • 2 réponses
  • 0 a ce problème
  • 2 vues
  • Dernière réponse par HeavenlyFox

more options

is there a way to stop Firefox 102 or even earlier versions to stop using div for line break or <enter> key press? Why is this the case ? HTML standard?

is there a way to stop Firefox 102 or even earlier versions to stop using div for line break or <enter> key press? Why is this the case ? HTML standard?

Modifié le par HeavenlyFox

Solution choisie

That is an old change that I suspect was made for some web compatibility reason. I don't know whether this reply is still applicable:

https://support.mozilla.org/questions/1268823

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

That is an old change that I suspect was made for some web compatibility reason. I don't know whether this reply is still applicable:

https://support.mozilla.org/questions/1268823

more options

Hi jscher2000

I recently migrated from 52 to 102 , so I wouldn't know all the changes in between . br tag makes it more readable for me dealing with the codes. I do not understand the logic behind this standard change.

Anyway, thank you very much for your solution , it solved my problem.

Modifié le par HeavenlyFox