Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

<enter> becomes <div>

  • 2 ответа
  • 0 имеют эту проблему
  • 2 просмотра
  • Последний ответ от 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?

Изменено HeavenlyFox

Выбранное решение

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

Прочитайте этот ответ в контексте 👍 1

Все ответы (2)

more options

Выбранное решение

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.

Изменено HeavenlyFox