Validating Script Body Content

User 37778 Photo

34 posts

validating my scripts with there is found an error made by the generator, please look at the line with <UL>.
I have found this, because it makes problems by my search-script, getting confused when scanning all my files (and inside-tags) for content and output.

<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
At the end of this line there is always one _"_ too much before the closing _>_. :cool:

<!-- Start of the body content for CoffeeCup Menu Builder -->
<div class = "xxxxxx">
<div id="menuBuilder">
<button class="nav-button button bar"><i class="icon_menu_handle"></i><span class="text_menu_link">Menu</span></button>
<div id="nav" class="nav">
<ul id="mainmenu" class="nav-collapse">
<li id="menu_2" class="has-flyout menu_2 menu_items">
<a href="#">
<span class="icon_menu_handle"></span>
<span class="text_menu_link">xxxxxx</span>
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
<li id="menu_2_sub_0" class="menu_2_sub_0 submenus_items submenu_menu_2_items">

User 187934 Photo

Senior Advisor
19,428 posts

Hi baerchen,
You have an extra " and space in the ul at the end.
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
This is a site I built for use in my job.(HTML Editor)
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
User 37778 Photo

34 posts

One _"_ too much at the end generated by the program, totally 5! _"_, deleting this and the space, says ok, and all works fine!
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2">

I had to change this in all my menues.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.