Clean HTML - Tidy

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
Schlumpf
Posts: 8
Joined: Thu Oct 23, 2008 10:04 pm

Clean HTML - Tidy

Post by Schlumpf »

I am using PHP Rapid 2008 and php code in my XHTML-sites - e.g. "include":

Code: Select all

<?php include ("../includes/head_doku.inc");?>
Inside this include-file are the head-tag and the body-tag...

Using "Tidy" always adds another head and another body tag to my code. I do not know how to change the "Tidy-settings" so that it does not add "missing tags"... :(
Schlumpf
Posts: 8
Joined: Thu Oct 23, 2008 10:04 pm

Re: Clean HTML - Tidy

Post by Schlumpf »

I found a "solution" now. Under "Pretty Print" (Tidy) I have removed the checkmark for "markup". Now Tidy does not add missing tags like "head" or "body" anymore.

Unfortunately after editing a "Tidy-task" the default setting is removed - on purpose?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Clean HTML - Tidy

Post by Karlis »

I have no idea what do you mean by Default setting :(
Karlis Blumentals
Blumentals Software
www.blumentals.net
Schlumpf
Posts: 8
Joined: Thu Oct 23, 2008 10:04 pm

Re: Clean HTML - Tidy

Post by Schlumpf »

I have tried to upload an attachment but I receive this error message: "Could not upload attachment to ./files/3549_88d080c42f96225f0685225d883e6dc1." The size of the picture is around 20 kb.

Well, I will explain it with words:

When I open the HTML Tidy Configuration I can see on the left hand side the "Task names" and on the right hand side it shows me which task has been set to "Default". When I edit this "default task" and I click on "OK" the "default setting" is removed - i.e. this task is not set as "default" any more; no task is set to default any more. I have to set a task as default anew.

I think editing a "default task" should not remove the "default setting". It sould not change anything about "default". When I want to change the "default setting" I click on "Set Default".
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Clean HTML - Tidy

Post by chrisjlocke »

Feel free to email it to me and I'll host it. :)
blumentals at chrisjlocke [dot] co [dot] uk
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Clean HTML - Tidy

Post by Karlis »

I see. Got it.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply