I am still trying to get https://github.com/Bystroushaak/DHTMLParser work

when I build it with DMD like:

dmd app.d dhtmlparser.d quote_escaper.d

It's produce normal exe

When I am trying to build it's with dub, I am getting errors:

Building app1 configuration "application", build type debug.
Compiling...
source\dhtmlparser.d(387): Warning: else is dangling, add { } after condition at
 source\dhtmlparser.d(384)
source\dhtmlparser.d(395): Warning: else is dangling, add { } after condition at
 source\dhtmlparser.d(391)
source\dhtmlparser.d(889): Warning: else is dangling, add { } after condition at
 source\dhtmlparser.d(886)
FAIL .dub\build\application-debug-windows-x86-dmd-0D74BE100F7C3BA072080F2852E75C
EA app1 executable
Error executing command run: DMD compile run failed with exit code 1

I can't understand why I do not get such warnings with DMD?