The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Tags that automatically close prematurely in the HTML editor

View previous topic View next topic Go down

Solved Tags that automatically close prematurely in the HTML editor

Post by Soulmonster on February 3rd 2015, 10:11 am

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 : 203
Reputation : 2
Language : Norwegian

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by _Twisted_Mods_ on February 3rd 2015, 11:12 am

im having the same issue with html in a widget

my forum is in my profile
version phpbb3

i post this

Code:
    <div id="afflcode">
<dl class="codebox"><dt>CODE:</dt>
<dd><code>
&lt;a href="http://liquidcode.forumotion.com/" target="_blank" title="Liquid Code"&gt;
&lt;img src="https://www.filepicker.io/api/file/qxGvXHLTTSmIm18mDoZk+lqaff.gif" alt="Liquid Code" /&gt;
&lt;/a&gt;</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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by Leviosa on February 3rd 2015, 12:22 pm

Hello

Our editor doesn't recognize the tag <nav>. By consequence, it closed the tag randomly and destructures the whole layout Sad
I don't have solution! You should not use <nav> tag!

Maybe @Ange tuteur has a better explanation than mine...

Thanks for your understanding!


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15359
Reputation : 1563
Language : French, English

http://help.forumotion.com

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by Ange Tuteur on February 3rd 2015, 12:33 pm

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> &bull;
  <a href="/memberlist">Membres</a> &bull;
  <a href="/groups">Groupes</a> &bull;
  <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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by Soulmonster on February 3rd 2015, 8:38 pm

@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> &bull;
  <a href="/memberlist">Membres</a> &bull;
  <a href="/groups">Groupes</a> &bull;
  <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 : 203
Reputation : 2
Language : Norwegian

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by _Twisted_Mods_ on February 3rd 2015, 9:24 pm

he means when editing the html page did you use the or the ... you should use the advanced mode

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by Soulmonster on February 3rd 2015, 9:42 pm

Thanks guys for the quick and helpful solutions. In advanced mode the problem disappeared. This thread can be closed now.

Soulmonster
Forumember

Posts : 203
Reputation : 2
Language : Norwegian

Back to top Go down

Solved Re: Tags that automatically close prematurely in the HTML editor

Post by APE on February 4th 2015, 1:05 am

Topic solved and archived





APE
Manager
Manager

Male Posts : 8319
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum