Let's escape HTML by default so as to avoid confusion.
This commit is contained in:
@@ -57,11 +57,11 @@ public class Mustache
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a compiler that <em>does not</em> escape HTML by default.
|
||||
* Returns a compiler that escapes HTML by default.
|
||||
*/
|
||||
public static Compiler compiler ()
|
||||
{
|
||||
return new Compiler(false);
|
||||
return new Compiler(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user