搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

<enter> becomes <div>

  • 2 个回答
  • 0 人有此问题
  • 5 次查看
  • 最后回复者为 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于修改