httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1329890 - /httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en
Date Tue, 24 Apr 2012 17:46:33 GMT
Author: humbedooh
Date: Tue Apr 24 17:46:33 2012
New Revision: 1329890

URL: http://svn.apache.org/viewvc?rev=1329890&view=rev
Log:
Testing the new syntax highlighting for perl scripts

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en?rev=1329890&r1=1329889&r2=1329890&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en Tue Apr 24 17:46:33 2012
@@ -375,14 +375,15 @@ by many requests.
     </code></p></div>
 
     <div class="example"><h3>dash2under.pl</h3><p><code>
-    #!/usr/bin/perl<br />
-    $| = 1; # Turn off I/O buffering<br />
-    while (&lt;STDIN&gt;) {<br />
-        <span class="indent">
-        s/-/_/g; # Replace dashes with underscores<br />
-        print $_;<br />
-        </span>
-    }<br />
+    <pre class="prettyprint lang-perl">
+    #!/usr/bin/perl
+    $| = 1; # Turn off I/O buffering
+    while (&lt;STDIN&gt;) {
+        s/-/_/g; # Replace dashes with underscores
+        print $_;
+    }
+    </pre>
+
     </code></p></div>
 
 <div class="note"><h3>Caution!</h3>



Mime
View raw message