Tags that automatically close prematurely in the HTML editor
5 posters
Page 1 of 1
Tags that automatically close prematurely in the HTML editor
Technical Details
Forum version : phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
Forum link : http://www.saltvannsprat.com/
Description of problem
When attenpting to modify a HTML in the HTML pages management I have a problem with a <nav> tag that closes prematurely. I want the <nav> tag to enclose the entire HTML page, but the HTML editor won't let me. It immediately closes the tag. This is what I want to get:- Code:
<nav id="menu-wrap"> MY HTML CODE </nav>
But instead, this is what I get after saving the HTML file:
- Code:
<nav id="menu-wrap"></nav> MY HTML CODE <nav id="menu-wrap"></nav>
The end result is of course that my HTML code is not enclosed by the <nav> tag.
Thanks for your help!
Last edited by Soulmonster on February 3rd 2015, 9:43 pm; edited 1 time in total
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: Tags that automatically close prematurely in the HTML editor
im having the same issue with html in a widget
my forum is in my profile
version phpbb3
i post this
then after i save and page reloads it like this
as you can see the word CODE: is removed from the dt element and my charicter code have been turned to sybols and exstra
was added to the end
my forum is in my profile
version phpbb3
i post this
- Code:
<div id="afflcode">
<dl class="codebox"><dt>CODE:</dt>
<dd><code>
<a href="http://liquidcode.forumotion.com/" target="_blank" title="Liquid Code">
<img src="https://www.filepicker.io/api/file/qxGvXHLTTSmIm18mDoZk+lqaff.gif" alt="Liquid Code" />
</a></code></dd></dl></div>
<div id="tm_affsystem"><center></center></div>
then after i save and page reloads it like this
- Code:
<div id="afflcode"><dl class="codebox"><dt></dt>CODE:<dd></dd></dl><code style="">
<a href="http://liquidcode.forumotion.com/" target="_blank" title="Liquid Code">
<img src="https://www.filepicker.io/api/file/qxGvXHLTTSmIm18mDoZk+lqaff.gif" alt="Liquid Code" />
</a></code><dl class="codebox"><dd></dd></dl>
</div>
as you can see the word CODE: is removed from the dt element and my charicter code have been turned to sybols and exstra
- Code:
<dl class="codebox">
was added to the end
Re: Tags that automatically close prematurely in the HTML editor
Hello
Our editor doesn't recognize the tag <nav>. By consequence, it closed the tag randomly and destructures the whole layout
I don't have solution! You should not use <nav> tag!
Maybe @Ange tuteur has a better explanation than mine...
Thanks for your understanding!
Our editor doesn't recognize the tag <nav>. By consequence, it closed the tag randomly and destructures the whole layout
I don't have solution! You should not use <nav> tag!
Maybe @Ange tuteur has a better explanation than mine...
Thanks for your understanding!
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Tags that automatically close prematurely in the HTML editor
Hi !
I cannot seem to recreate the problem.
http://forumbeta.forumactif.com/h2-test-de-nav
Are you using advanced mode or simple ? I wasn't able to recreate it in either mode, but if you're making HTML pages, I HIGHLY suggest using advanced mode. The SCEditor can cause tag corrections which are less than helpful.
I cannot seem to recreate the problem.
http://forumbeta.forumactif.com/h2-test-de-nav
- Code:
<nav id="menu-wrap">
<a href="/">Accuiel</a> •
<a href="/memberlist">Membres</a> •
<a href="/groups">Groupes</a> •
<a href="/search">Rechercher</a>
</nav>
Are you using advanced mode or simple ? I wasn't able to recreate it in either mode, but if you're making HTML pages, I HIGHLY suggest using advanced mode. The SCEditor can cause tag corrections which are less than helpful.
Re: Tags that automatically close prematurely in the HTML editor
Ange Tuteur wrote:Hi !
I cannot seem to recreate the problem.
http://forumbeta.forumactif.com/h2-test-de-nav
- Code:
<nav id="menu-wrap">
<a href="/">Accuiel</a> •
<a href="/memberlist">Membres</a> •
<a href="/groups">Groupes</a> •
<a href="/search">Rechercher</a>
</nav>
Are you using advanced mode or simple ? I wasn't able to recreate it in either mode, but if you're making HTML pages, I HIGHLY suggest using advanced mode. The SCEditor can cause tag corrections which are less than helpful.
Do you mean "simple" or "WYSIWYG" mode? I use "simple". In WYSIWYG mode I can't see the tags.
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: Tags that automatically close prematurely in the HTML editor
he means when editing the html page did you use the or the ... you should use the advanced mode
Re: Tags that automatically close prematurely in the HTML editor
Thanks guys for the quick and helpful solutions. In advanced mode the problem disappeared. This thread can be closed now.
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum