prettier/tests/jsx/quotes.js

43 lines
907 B
JavaScript

<div id="&quot;'<>&amp;quot;" />;
<div id='"&#39;<>&amp;quot;' />;
<div id={'\'"&quot;<>&amp;quot;'} />;
<div id='123' />;
<div id='&#39;&quot;' />;
<div id={'\'\"\\\''} />;
<div
single='foo'
single2={'foo'}
double="bar"
double2={"bar"}
singleDouble='"'
singleDouble2={'"'}
doubleSingle="'"
doubleSingle2={"'"}
singleEscaped={'\''}
singleEscaped2='&apos;'
doubleEscaped={"\""}
doubleEscaped2="&quot;"
singleBothEscaped={'\'"'}
singleBothEscaped2='&apos;"'
singleBoth='&apos; "'
singleBoth2={'\' "'}
singleBoth3='&apos; &apos; "'
doubleBoth="&quot; '"
doubleBoth2={"\" '"}
doubleBoth3="&quot; &apos; '"
/>;
<p>
GitHub Desktop has encountered an unrecoverable error and will need to 1231231
restart. This has been reported to the team, but if youencounter this121312331
repeatedly please report this issue to the GitHub 12312312312312313{' '}{' '}
</p>