## Summary
This fixes an issue where strings with a quote in it would not get
correctly escaped, leading to the ESLint rule autofix suggestion leading
to non-compiling javascript.
## Summary
This fixes incorrect stripping of special characters when setting
default translated values.
## Longer
The i18n rule would incorrectly strip certain characters such as commas,
periods and other non alphanumerical characters from the default value.
Example:
This input:
```
import React from 'react';
export function Foo() {
return (
<SomeComp>See, this example!</SomeComp>
)
}
```
Would be autofixed to:
```
import React from 'react';
import { i18n } from '@kbn/i18n';
export function Foo() {
return (
<SomeComp>
{i18n.translate('foo.someComp.seeThisExample', { defaultMessage: 'See this example' })}
</SomeComp>
)
}
```
Special characters were incorrectly stripped from `defaultMessage`.
Now, the autofix results in:
```
import React from 'react';
import { i18n } from '@kbn/i18n';
export function Foo() {
return (
<SomeComp>
{i18n.translate('foo.someComp.seeThisExample', { defaultMessage: 'See, this example!' })}
</SomeComp>
)
}
```