Problem with HTML List button

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
pjafrombbay
Posts: 15
Joined: Fri Mar 11, 2005 6:27 am
Location: Batemans Bay, NSW, Australia

Problem with HTML List button

Post by pjafrombbay »

Hi! I have a minor but irritating problem with the 'List' menu button (the one you need to add from customising that automates lists from lines of content).

It works quite Ok but it DOES NOT include closing tags for the <li> elements; you get:

<ul>
<li>djvnd h oi okjhth
<li>fnvn gbgi iogfbdf gdb
</ul>

I realise that HTML pages will work without the closing tags; however, this is simply not good coding practice.

Is there any chance of a fix for this very handy feature.

Keep up the good work, this is a very good piece of software.

Regards,
Peter
...men judge generally more by the eye than by the hand, because it belongs to everybody to see you, to few to come in touch with you. -- Niccolo Machiavelli, The Prince, ch. 18
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

What version of what application are you using - I'm using WeBuilder v7.2 and it works fine in that:

<ul>
<li>123</li>
<li>123</li>
<li>123</li>
</ul>


Unless its some other option somewhere...
User avatar
pjafrombbay
Posts: 15
Joined: Fri Mar 11, 2005 6:27 am
Location: Batemans Bay, NSW, Australia

List problems

Post by pjafrombbay »

I have just tried it again and I get the following:

<body>
<p>Version 7.3.0.69</p>
<ul>
<li>aaaaaa
<li>bbbbbb
<li>cccccc
</ul>
<ol>
<li>zzzzzz
<li>xxxxxx
<li>yyyyyy
</ol>
</body>

When I noticed the problem this afternoon I downloaded HTMLPad again, but I already had the latest version.

I have also made sure that the 'Add list item end-tags' option is ticked in the Preference settings.

Regards,
Peter :cry:
...men judge generally more by the eye than by the hand, because it belongs to everybody to see you, to few to come in touch with you. -- Niccolo Machiavelli, The Prince, ch. 18
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

I've just installed it on my test machine, and its worked fine.

You mention "the one you need to add from customising that automates lists from lines of content". When I installed it (and on my WeBuilder app) its on the HTML toolbar automatically.

Let me try your settings. From the Options menu, select Export settings. Save this .reg file somewhere, zip it up, and email it to me at blu @ chrisjlocke . co . uk and I'll see if I can reproduce it.

Ta!
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Post by MikeyB »

Just tried it on the latest version of WeBuilder and it's different depending on the doctype.


It only adds the </li> when the doctype is XHTML 1.0 Strict or XHTML 1.1, anything else and it will not add the </li>

Mike
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

there's no reason not to close tags in any doctype. Just going to make it more difficult for people to move thier documents to XHTML in the long run.

and while we're here... please, no border property in the image insertion! If I have xhtml strict as my doctype then make the magic voodoo shaker give me an xhtml compliant line with alt= instead of border=! ;) Pleeeeeeease?

:D
Will
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

The </li> indeed is used based on doctype. Image tag is not, but we will do something about this...
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Karlis wrote:Image tag is not, but we will do something about this...
yay! Thank you!
Post Reply