Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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.