[MPLUGIN-173] Start using net.sf.jtidy artifact with correct I/O encoding
Submitted by: Stanislav Ochotnicky o Applied without change git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133705 13f79535-47bb-0310-9956-ffa450edef68master
parent
723c6c03bf
commit
6c63ab9110
|
|
@ -83,9 +83,9 @@
|
||||||
|
|
||||||
<!-- misc -->
|
<!-- misc -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>jtidy</groupId>
|
<groupId>net.sf.jtidy</groupId>
|
||||||
<artifactId>jtidy</artifactId>
|
<artifactId>jtidy</artifactId>
|
||||||
<version>4aug2000r7-dev</version>
|
<version>r938</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- test -->
|
<!-- test -->
|
||||||
|
|
|
||||||
|
|
@ -265,7 +265,8 @@ public final class PluginUtils
|
||||||
tidy.setDocType( "loose" );
|
tidy.setDocType( "loose" );
|
||||||
tidy.setXHTML( true );
|
tidy.setXHTML( true );
|
||||||
tidy.setXmlOut( true );
|
tidy.setXmlOut( true );
|
||||||
tidy.setCharEncoding( Configuration.UTF8 );
|
tidy.setInputEncoding("UTF-8");
|
||||||
|
tidy.setOutputEncoding("UTF-8");
|
||||||
tidy.setMakeClean( true );
|
tidy.setMakeClean( true );
|
||||||
tidy.setNumEntities( true );
|
tidy.setNumEntities( true );
|
||||||
tidy.setQuoteNbsp( false );
|
tidy.setQuoteNbsp( false );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue