Shlomi Fish avatar Shlomi Fish committed 7fc2316

Fix style-trailing-space.

Comments (0)

Files changed (2)

Tests/style-trailing-space.t

         or die "Cannot open ack for input - $!";
 
     my $count_lines = 0;
+    ACK_OUTPUT:
     while (my $l = <$ack_fh>)
     {
+        chomp($l);
+
+        if (
+            ($l =~ m{\Alib/tutorials/modern-perl/pdf/[^\.]+\.pdf\z})
+                or
+            ($l =~ m{\A\.sass-cache/})
+        )
+        {
+            next ACK_OUTPUT;
+        }
         $count_lines++;
-        diag($l);
+        diag("$l\n");
     }
 
     # TEST

lib/sgml/shlomif-docbook/dsssl-stylesheets/shlomif-essays.dsl

 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY html-ss 
+<!ENTITY html-ss
   PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
 <!ENTITY print-ss
   PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
 ]>
 <style-sheet>
 <style-specification id="print" use="print-stylesheet">
-<style-specification-body> 
+<style-specification-body>
 (define %bop-footnotes%
    ;; Make "bottom-of-page" footnotes?
    #t)
       )
       (sosofo-append
         (make formatting-instruction  data: "\\href{" )
-        (make formatting-instruction 
+        (make formatting-instruction
             data: (attribute-string (normalize "url")) )
         (make formatting-instruction  data: "}{" )
         (process-children) ;; Wrote the text with its format (HTML anchor)
 </style-specification-body>
 </style-specification>
 <style-specification id="html" use="html-stylesheet">
-<style-specification-body> 
+<style-specification-body>
 
 ;; customize the html stylesheet
 (define %html-ext%
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.