AbstractMarkupFilter produces placeholder-only segments
Issue #336
resolved
Original issue 336 created by @ysavourel on 2013-05-08T17:52:41.000Z:
See attached HTML testcase. This file contains no translatable text, but produces 5 trans-units when converted to XLIFF with tikal. In all cases, the TUs contain just a single placeholder, without even any whitespace.
These TUs are of questionable quality. I would propose that the filter shouldn't create TUs that consist solely of a single placeholder. I'm unsure about whether it should be an option. (Conceivably, somebody might want to do something with them, but at best I think that's a very small use case.)
Comments (2)
-
Account Deleted -
Account Deleted - changed status to resolved
Comment 2. originally posted by @ysavourel on 2013-11-02T18:34:31.000Z:
Fixed on dev with commit 5276f76849b8dced46fe87d90034ff716a699c5f
- Log in to comment
Comment 1. originally posted by @ysavourel on 2013-10-30T23:09:11.000Z:
Fix seems like a pretty straightforward extension of the similar fixes related to subfiltering. I've got a patch but I want to try to land the parameter stuff first.