Validation: false positive SUSPECT_CODE

Issue #599 new
Mihai Niță created an issue

Check the attached document in CheckMate. It reports "Suspect sequence of opening and closing placeholders in the target (placeholder 2)."

Expected behavior: No error.

Description (so that we understand the bug just by reading): Source: ... <a>foo</a> ... <i><b>bar</b></i> ... Target: ... <i><b>foofoo</b></i> ... <a>foofoo</a> ...

Swapping the order of foo / bar (because the language requires it) is OK. And the tags move with the wrapped words. There is no mistake here.

Extra: The Issue generated does not have any ranges (both the source and target ones are [0,-1]) Since the error is "in the target (placeholder 2)" we can also highlight the target range from the beginning to the end of placeholder 2.

Comments (0)

  1. Log in to comment