<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged tidy</title>
<link>https://www.question2answer.org/qa/tag/tidy</link>
<description>Powered by Question2Answer</description>
<item>
<title>Developer question: What tool do you use to tidy and indent your code?</title>
<link>https://www.question2answer.org/qa/32269/developer-question-what-tool-you-use-tidy-and-indent-your-code</link>
<description>

&lt;p&gt;
	Hi everyone, I started with Scite years ago and am using Notepad++ for a while. Problem is the Tidy / Tidy2 plugin seems to be buggy. At least for me :)
&lt;br&gt;
	
&lt;br&gt;
	I would like to know from you, what tidy tool you use to &lt;strong&gt;tidy and indent &lt;/strong&gt;your PHP code, Javascript, HTML and CSS.
&lt;br&gt;
	
&lt;br&gt;
	Can somebody recommend a universal tool for that? Offline.
&lt;br&gt;
	
&lt;br&gt;
	Thanks,
&lt;br&gt;
	Kai&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/32269/developer-question-what-tool-you-use-tidy-and-indent-your-code</guid>
<pubDate>Mon, 24 Feb 2014 07:34:32 +0000</pubDate>
</item>
<item>
<title>HTML Validation: end tag for &quot;DIV&quot; omitted, but its declaration does not permit this</title>
<link>https://www.question2answer.org/qa/17874/html-validation-end-tag-omitted-declaration-does-permit-this</link>
<description>

&lt;p&gt;
	Before I waste more hours, could it be that in q2a v1.5.3 the following html validation problem is solved:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&lt;span class=&quot;msg&quot;&gt;&amp;nbsp; end tag for &quot;DIV&quot; omitted, but its declaration does not permit this&lt;/span&gt;
&lt;br&gt;
	&lt;code class=&quot;input&quot;&gt;&amp;nbsp;&amp;lt;/FORM&lt;strong title=&quot;Position where error was detected.&quot;&gt;&amp;gt;&lt;/strong&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&amp;nbsp; start tag was here:&lt;code class=&quot;input&quot;&gt;&lt;strong title=&quot;Position where error was detected.&quot;&gt; &amp;lt;&lt;/strong&gt;DIV CLASS=&quot;qa-q-view-main&quot;&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	See the validation of my site here: &lt;a href=&quot;http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gute-mathe-fragen.de%2F2450%2Foberflache-des-quaders-wenn-eine-seite-unbekannt-ist&amp;amp;charset=%28detect+automatically%29&amp;amp;doctype=Inline&amp;amp;group=0&amp;amp;verbose=1&amp;amp;user-agent=W3C_Validator%2F1.3&quot; rel=&quot;nofollow&quot;&gt;http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gute-mathe-fragen.de%2F2450%2Foberflache-des-quaders-wenn-eine-seite-unbekannt-ist&amp;amp;charset=%28detect+automatically%29&amp;amp;doctype=Inline&amp;amp;group=0&amp;amp;verbose=1&amp;amp;user-agent=W3C_Validator%2F1.3&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	The FORM tag seems to be on the wrong position.&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	I ask because in my advanced theme I cannot find stuff that could be responsible for the break.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17874/html-validation-end-tag-omitted-declaration-does-permit-this</guid>
<pubDate>Thu, 20 Sep 2012 12:41:29 +0000</pubDate>
</item>
<item>
<title>Why is q2a using the span-tag instead of the div-tag?</title>
<link>https://www.question2answer.org/qa/17522/why-is-q2a-using-the-span-tag-instead-of-the-div-tag</link>
<description>

&lt;p&gt;
	I checked if the q2a html template is &quot;html tidy&quot; (i.e. validates), and found a lot of span tags the incorporate a lot of other elements, esp. &lt;span&gt;&amp;lt;&lt;span class=&quot;start-tag&quot;&gt;span&lt;/span&gt; &lt;span class=&quot;attribute-name&quot;&gt;class&lt;/span&gt;=&quot;&lt;a class=&quot;attribute-value&quot;&gt;entry-content&lt;/a&gt;&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	Why not use a &amp;lt;div&amp;gt; tag instead and have tidy html?&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	PS: Check it yourself on &lt;a href=&quot;http://www.gute-mathe-fragen.de/1789/division-von-bruchen-mit-variablen&quot; rel=&quot;nofollow&quot;&gt;this site&lt;/a&gt;, using the Firefox Addon &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/html-validator/&quot; rel=&quot;nofollow&quot;&gt;HTML Validator&lt;/a&gt;. You will see 131 warnings, mostly:&lt;/p&gt;


&lt;p&gt;
	+ Warning: inserting implicit &amp;lt;span&amp;gt;&lt;/p&gt;


&lt;p&gt;
	+ Warning: trimming empty &amp;lt;span&amp;gt;
&lt;br&gt;
	
&lt;br&gt;
	
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17522/why-is-q2a-using-the-span-tag-instead-of-the-div-tag</guid>
<pubDate>Mon, 03 Sep 2012 05:16:50 +0000</pubDate>
</item>
</channel>
</rss>