Character swallowing

This commit is contained in:
Nate Choe
2022-06-09 08:23:18 -05:00
parent 9e4bc9e89a
commit 581a4cba39
3 changed files with 8 additions and 301 deletions

View File

@@ -113,18 +113,18 @@ var1 doesn't exist, so ncdg moves on to var2, which does exist, and skips var3.
```
<pre><code>@\
#include <stdio.h>
#include <stdio.h>
@</code></pre>
```
Result:
```
<pre><code>
#include &lt;stdio.h%gt;
<pre><code>#include &lt;stdio.h&gt;
</code></pre>
Note that text inside of escaped sections are not minified.
Note that text inside of escaped sections is not minified. Also note taht the
first character after the code is swallowed.
### Excluding minification