rjeschke / txtmark

Yet another markdown processor for the JVM
Apache License 2.0
449 stars 100 forks source link

Panic mode causes text within code block to be encoded twice #52

Open ismailhabib opened 8 years ago

ismailhabib commented 8 years ago

The output of this code:

Configuration CONFIGURATION = Configuration.builder().enablePanicMode().build();
String result = Processor.process("`<p>My code</p>`", CONFIGURATION);

is:

<p><code>&amp;lt;p&gt;My code&amp;lt;/p&gt;</code></p>