Add Attribute Values Test Case

Issue: #189
This commit is contained in:
Josh Johnson 2018-06-11 18:58:54 -04:00
parent 88de774389
commit 39167c3252
3 changed files with 14 additions and 0 deletions

View File

@ -76,6 +76,10 @@ describe("V2XmlFormatter", () => {
testFormatter(xmlFormatter, options, "issue-187"); testFormatter(xmlFormatter, options, "issue-187");
}); });
it("should not ruin attributes with unusual characters", () => {
testFormatter(xmlFormatter, options, "issue-189");
});
}); });
}); });

View File

@ -0,0 +1,5 @@
<!DOCTYPE xml>
<core:FragmentDefinition xmlns="sap.m"
xmlns:core="sap.ui.core">
<Text text="{parts: ['i18n>dialog.countdown.text','view>/Countdown'],formatter: 'jQuery.sap.formatMessage'}" />
</core:FragmentDefinition>

View File

@ -0,0 +1,5 @@
<!DOCTYPE xml>
<core:FragmentDefinition xmlns="sap.m"
xmlns:core="sap.ui.core">
<Text text="{parts: ['i18n>dialog.countdown.text','view>/Countdown'],formatter: 'jQuery.sap.formatMessage'}" />
</core:FragmentDefinition>