Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Disable auto closing of HTML tags??

  • 4 respostas
  • 1 tem este problema
  • 43 visualizações
  • Última resposta por 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.

Modificado por Yuuwu a

Solução escolhida

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?

Ler esta resposta no contexto 👍 1

Todas as respostas (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

Solução escolhida

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.