(BHow about pre-processing JSL files by the Ant optional "ReplaceRegexp"
(Btask?
(B
(BQuoting from the manual,
(B
(B<replaceregexp match="\s+" replace=" " flags="g" byline="true">
(B    <fileset dir="${html.dir}" includes="**/*.html" />
(B</replaceregexp>
(B
(Bthis replaces all whitespaces (blanks, tabs, etc) by one blank remaining
(Bthe line separator.
(B
(BIf you hack the regular expression, you would be able to delete unnecessary
(B(in HTML speak) line seperators as well while dealing with <PRE> tags as
(Bexception.
(B
(B
(B
(B
(B
(B
(B
(B                                                                                       
(B                                         
(B                    "Mike Whittaker"                                                   
(B                                         
(B                    <[EMAIL PROTECTED]        [EMAIL PROTECTED](B:   "Struts List" 
(B<[EMAIL PROTECTED]>                           
(B                    world.com>                 cc:                                     
(B                                         
(B                                               $B7oL>(B:   white space on jsp 
(Bcompile                                               
(B                    2003/08/01 04:21                                                   
(B                                         
(B                    "Struts Users                                                      
(B                                         
(B                    Mailing List" $B$XJV(B                                           
(B                                               
(B                    $B?.$7$F$/[EMAIL PROTECTED](B                                     
(B                                                         
(B                                                                                       
(B                                         
(B                                                                                       
(B                                         
(B
(B
(B
(B
(BIs there any way to control it? It seems a little excessive
(B
(BI'd like to retain it in the JSP, and remove as much as possible in the
(Bhtml
(B
(B--
(BMike W
(B
(B
(B---------------------------------------------------------------------
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]
(B
(B
(B
(B
(B
(B
(B---------------------------------------------------------------------
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to