搜索 | 用户支持

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

详细了解

Disable auto closing of HTML tags??

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

So I am not a coder for anything special. I just write basic HTML for formatting on Deviantart. I'm having an issue where Firefox automatically closes my HTML tags without me wanting it to.

EXAMPLE:
<*blockquote>text
more text
more text
<*/blockquote>

DOES NOT WORK. Firefox automatically changes it to the following:

<*blockquote>text<*/blockquote>
more text
more text

I need to know how to disable this if possible, otherwise I have to switch browsers because this is a very tedious issue for me when I'm trying to write simple HTML code.

So I am not a coder for anything special. I just write basic HTML for formatting on Deviantart. I'm having an issue where Firefox automatically closes my HTML tags without me wanting it to. EXAMPLE:<br> <*blockquote>text<br> more text<br> more text<br><*/blockquote> DOES NOT WORK. Firefox automatically changes it to the following: <*blockquote>text<*/blockquote><br> more text<br> more text<br> I need to know how to disable this if possible, otherwise I have to switch browsers because this is a very tedious issue for me when I'm trying to write simple HTML code.

由Yuuwu于修改

被采纳的解决方案

Hi Yuuwu, I don't think Firefox has anything nearly that fancy built-in. The site may be using a rich text editor that provides tag completion. While such editors generally are developed to be cross-browser compatible, there sometimes are differences.

There is an issue with old versions of VBulletin related to a change in Firefox 60 that made Firefox more like other browsers, which then conflicted with their editor's special handling of Firefox. You could try the following change to see whether the Deviantart editor has the same issue:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste newline and pause while the list is filtered

(3) Double-click the editor.use_div_for_default_newlines preference to switch the value from true to false (was false in Firefox 57-59)

Any difference?

定位到答案原位置 👍 1

所有回复 (4)

more options
more options

Firefox likes it's cache cleaned a lot when your coding.

If it is changing your code is it possible there is something wrong with your code as it does only what you tell it to do.

W3C.org in charge of web standards of code for browsers and web sites.

You may want this version of Firefox, or not : *https://www.mozilla.org/en-US/firefox/developer/ It has a compatibility mode so can run both. But should do this as shares Profile.

more options

选择的解决方案

Hi Yuuwu, I don't think Firefox has anything nearly that fancy built-in. The site may be using a rich text editor that provides tag completion. While such editors generally are developed to be cross-browser compatible, there sometimes are differences.

There is an issue with old versions of VBulletin related to a change in Firefox 60 that made Firefox more like other browsers, which then conflicted with their editor's special handling of Firefox. You could try the following change to see whether the Deviantart editor has the same issue:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste newline and pause while the list is filtered

(3) Double-click the editor.use_div_for_default_newlines preference to switch the value from true to false (was false in Firefox 57-59)

Any difference?

more options

You can try to use Shift + Enter (line feed) to start on a new line instead of Enter to see if that works better.

The only place I know of where Firefox closes tags is in the left (markup) pane in the Inspector if you use Edit HTML.