parent
88de774389
commit
39167c3252
@ -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");
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
5
src/test/test-data/issue-189.formatted.xml
Normal file
5
src/test/test-data/issue-189.formatted.xml
Normal 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>
|
5
src/test/test-data/issue-189.unformatted.xml
Normal file
5
src/test/test-data/issue-189.unformatted.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user