Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Disable auto closing of HTML tags??

  • 4 odgovora
  • 1 ima ovaj problem
  • 43 prikaza
  • Posljednji odgovor od 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.

Izmjenjeno od Yuuwu

Izabrano rješenje

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?

Pročitaj ovaj odgovor u kontekstu 👍 1

Svi odgovori (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

Odabrano rješenje

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.