Commit eadde14c authored by Michal Čihař's avatar Michal Čihař

Proper highlighting skipping for XML

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 760fba74
......@@ -120,6 +120,8 @@ class XMLTagsCheck(TargetCheck):
return source_tags != target_tags
def check_highlight(self, source, unit):
if self.should_skip(unit):
return []
ret = []
try:
self.parse_xml(source)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment