Skip to content

Commit 39167c3

Browse files
Add Attribute Values Test Case
Issue: #189
1 parent 88de774 commit 39167c3

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/test/extension.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ describe("V2XmlFormatter", () => {
7676
testFormatter(xmlFormatter, options, "issue-187");
7777
});
7878

79+
it("should not ruin attributes with unusual characters", () => {
80+
testFormatter(xmlFormatter, options, "issue-189");
81+
});
82+
7983
});
8084

8185
});
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!DOCTYPE xml>
2+
<core:FragmentDefinition xmlns="sap.m"
3+
xmlns:core="sap.ui.core">
4+
<Text text="{parts: ['i18n>dialog.countdown.text','view>/Countdown'],formatter: 'jQuery.sap.formatMessage'}" />
5+
</core:FragmentDefinition>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!DOCTYPE xml>
2+
<core:FragmentDefinition xmlns="sap.m"
3+
xmlns:core="sap.ui.core">
4+
<Text text="{parts: ['i18n>dialog.countdown.text','view>/Countdown'],formatter: 'jQuery.sap.formatMessage'}" />
5+
</core:FragmentDefinition>

0 commit comments

Comments
 (0)