HtmlMin icon indicating copy to clipboard operation
HtmlMin copied to clipboard

Unexpected whitespace removal before anchor tag

Open jordanade opened this issue 1 year ago • 0 comments

Input HTML: Get a <strong>complimentary</strong> organic lawn fertilizer with a lawn maintenance or bi-weekly subscription.<strong> <a href="https://domain.com/qgq8/contact-us">Contact us to schedule!</a></strong>

Expected output: Get a <strong>complimentary</strong> organic lawn fertilizer with a lawn maintenance or bi-weekly subscription<strong> <a href="https://domain.com/qgq8/contact-us">Contact us to schedule!</a></strong>

Actual output: Get a <strong>complimentary</strong> organic lawn fertilizer with a lawn maintenance or bi-weekly subscription.<strong><a href="https://domain.com/qgq8/contact-us">Contact us to schedule!</a></strong>

Happens regardless of doOptimizeViaHtmlDomParser, doSumUpWhitespace, doRemoveWhitespaceAroundTags, doRemoveSpacesBetweenTags settings.

jordanade avatar Jul 07 '22 00:07 jordanade