Hello,

It seems that the default filtering is only applied.

Here this example:

--------------------
    Filter filter = new CharacterFilter();
    filter.addAttribute( "$", "dollar" );
    filter.addAttribute( "#", Entities.POUND );

    P p = new P();
    p.setFilter( filter );
    p.setFilterState( true );
    p.addElement( "It's \"$ and #\"." );
    p.output(System.out);
    System.out.println();
--------------------

The result is:

--------------------
<p>
        It&#8217;s &#34;$ and #&#34;.
--------------------

In this example I modified ecs.properties:
filter_state=true
filter_attribute_state=true
pretty_print=true
 
What is wrong?

Best regards.

Dominique
--
+------------------------------------o-------------------------------------+
| P-mail:                            | E-mail:                             |
|   E.N.S.T. - Dep. TSI              |       [EMAIL PROTECTED]  |
|   Dominique Asselineau             |                                     |
|   46, rue Barrault                 |                                     |
|   75634 PARIS Cedex 13 - France    |                                     |
+------------------------------------o-------------------------------------+


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to