add a new setting called useSelfClosingTags which allow to define how empty tag must be write while generating new XLIFF synchronized files.
its default value is true meaning empty tag will use self closing format (<note/>) - as it was the case prior this change.
when set to false, empty tag will be write using opening and closing format (<note></note>).
as an example, AL Compiler is using the opening and closing format instead the self-closing one.
using this extension current version with AL project is then generating excessive git diff for small changes since all empty tags are updated to the self-closing format.
Thank you for the PR. I have already checked the contents and it looks good. I will probably merge/release it next weekend (after Directions EMEA in Hamburg).
add a new setting called
useSelfClosingTags
which allow to define how empty tag must be write while generating new XLIFF synchronized files.its default value is
true
meaning empty tag will use self closing format (<note/>
) - as it was the case prior this change.when set to
false
, empty tag will be write using opening and closing format (<note></note>
).as an example, AL Compiler is using the opening and closing format instead the self-closing one. using this extension current version with AL project is then generating excessive git diff for small changes since all empty tags are updated to the self-closing format.
references :
Closes #97