lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gol...@apache.org
Subject cvs commit: jakarta-lucene/src/demo/org/apache/lucene/demo/html Tags.java
Date Thu, 27 Nov 2003 12:50:21 GMT
goller      2003/11/27 04:50:21

  Modified:    src/demo/org/apache/lucene/demo/html Tags.java
  Log:
  closing tags added
  
  Revision  Changes    Path
  1.2       +15 -3     jakarta-lucene/src/demo/org/apache/lucene/demo/html/Tags.java
  
  Index: Tags.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/demo/org/apache/lucene/demo/html/Tags.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Tags.java	23 Nov 2003 17:24:32 -0000	1.1
  +++ Tags.java	27 Nov 2003 12:50:21 -0000	1.2
  @@ -66,24 +66,36 @@
     public final static Set WS_ELEMS = Collections.synchronizedSet(new HashSet());
     
     static{
  -    WS_ELEMS.add("<p");
  -    WS_ELEMS.add("<div");
       WS_ELEMS.add("<hr");
       WS_ELEMS.add("<hr/");  // note that "<hr />" does not need to be listed explicitly
       WS_ELEMS.add("<br");
       WS_ELEMS.add("<br/");
  +    WS_ELEMS.add("<p");
  +    WS_ELEMS.add("</p");
  +    WS_ELEMS.add("<div");
  +    WS_ELEMS.add("</div");
       WS_ELEMS.add("<td");
  +    WS_ELEMS.add("</td");
       WS_ELEMS.add("<li");
  -    WS_ELEMS.add("<p");
  +    WS_ELEMS.add("</li");
       WS_ELEMS.add("<q");
  +    WS_ELEMS.add("</q");
       WS_ELEMS.add("<blockquote");
  +    WS_ELEMS.add("</blockquote");
       WS_ELEMS.add("<dt");
  +    WS_ELEMS.add("</dt");
       WS_ELEMS.add("<h1");
  +    WS_ELEMS.add("</h1");
       WS_ELEMS.add("<h2");
  +    WS_ELEMS.add("</h2");
       WS_ELEMS.add("<h3");
  +    WS_ELEMS.add("</h3");
       WS_ELEMS.add("<h4");
  +    WS_ELEMS.add("</h4");
       WS_ELEMS.add("<h5");
  +    WS_ELEMS.add("</h5");
       WS_ELEMS.add("<h6");
  +    WS_ELEMS.add("</h6");
     }
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message