Author: randy Date: 2005-03-26 07:59:19 -0700 (Sat, 26 Mar 2005) New Revision: 893
Added: trunk/tidy/ trunk/tidy/tidy-050305-prevent_PRE_newlines-1.patch trunk/tidy/tidy-050324-prevent_PRE_newlines-1.patch Log: Added Tidy patches (one for BLFS-6.0 and one for BLFS-SVN) Added: trunk/tidy/tidy-050305-prevent_PRE_newlines-1.patch =================================================================== --- trunk/tidy/tidy-050305-prevent_PRE_newlines-1.patch 2005-03-24 07:17:42 UTC (rev 892) +++ trunk/tidy/tidy-050305-prevent_PRE_newlines-1.patch 2005-03-26 14:59:19 UTC (rev 893) @@ -0,0 +1,31 @@ +Submitted By: BLFS Book <[email protected]> +Date: 2005-03-07 +Initial Package Version: 040914 +Upstream Status: Unknown +Origin: Nico R. submitted to lfs.dev mailing list +Description: Fixes an issue where an extra line feed is incorrectly + inserted when using the <pre></pre> tags + +$LastChangedBy: randy $ +$Date: 2005-03-07 08:02:22 -0600 (Mon, 07 Mar 2005) $ + +diff -Naur tidy-20040914T211547+0000.orig/src/pprint.c tidy-20040914T211547+0000/src/pprint.c +--- tidy-20040914T211547+0000.orig/src/pprint.c 2004-09-14 21:13:08.000000000 +0000 ++++ tidy-20040914T211547+0000/src/pprint.c 2004-09-14 22:08:08.000000000 +0000 +@@ -1976,14 +1976,14 @@ + PPrintTag( doc, mode, indent, node ); + + indent = 0; +- PFlushLine( doc, indent ); ++ if ( !nodeIsPRE(node) ) PFlushLine( doc, indent ); + + for ( content = node->content; content; content = content->next ) + { + PPrintTree( doc, (mode | PREFORMATTED | NOWRAP), + indent, content ); + } +- PCondFlushLine( doc, indent ); ++ if ( !nodeIsPRE(node) ) PCondFlushLine( doc, indent ); + indent = indprev; + PPrintEndTag( doc, mode, indent, node ); + Added: trunk/tidy/tidy-050324-prevent_PRE_newlines-1.patch =================================================================== --- trunk/tidy/tidy-050324-prevent_PRE_newlines-1.patch 2005-03-24 07:17:42 UTC (rev 892) +++ trunk/tidy/tidy-050324-prevent_PRE_newlines-1.patch 2005-03-26 14:59:19 UTC (rev 893) @@ -0,0 +1,31 @@ +Submitted By: BLFS Book <[email protected]> +Date: 2005-03-07 +Initial Package Version: 040914 +Upstream Status: Unknown +Origin: Nico R. submitted to lfs.dev mailing list +Description: Fixes an issue where an extra line feed is incorrectly + inserted when using the <pre></pre> tags + +$LastChangedBy: randy $ +$Date: 2005-03-26 08:35:22 -0600 (Sat, 26 Mar 2005) $ + +diff -Naur tidy-20040914T211547+0000.orig/src/pprint.c tidy-20040914T211547+0000/src/pprint.c +--- tidy-20040914T211547+0000.orig/src/pprint.c 2004-09-14 21:13:08.000000000 +0000 ++++ tidy-20040914T211547+0000/src/pprint.c 2004-09-14 22:08:08.000000000 +0000 +@@ -1976,14 +1976,14 @@ + PPrintTag( doc, mode, indent, node ); + + indent = 0; +- PFlushLine( doc, indent ); ++ if ( !nodeIsPRE(node) ) PFlushLine( doc, indent ); + + for ( content = node->content; content; content = content->next ) + { + PPrintTree( doc, (mode | PREFORMATTED | NOWRAP), + indent, content ); + } +- PCondFlushLine( doc, indent ); ++ if ( !nodeIsPRE(node) ) PCondFlushLine( doc, indent ); + indent = indprev; + PPrintEndTag( doc, mode, indent, node ); + -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
