xarxaprod-wp-theme/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/DisallowInlineTabsStandard.xml

26 lines
591 B
XML
Raw Normal View History

2024-01-09 16:13:20 +01:00
<documentation title="Disallow Inline Tabs">
<standard>
<![CDATA[
Use spaces for inline alignment.
]]>
</standard>
<code_comparison>
<code title="Valid: spaces used for inline alignment.">
<![CDATA[
$a = array(
'abc'<em>[space]</em>=> 'lor',
'b'<em>[space][space][space]</em>=> 'em',
);
]]>
</code>
<code title="Invalid: tabs used for inline alignment.">
<![CDATA[
$a = array(
'abc'<em>[tab]</em>=> 'lor',
'b'<em>[tab]</em>=> 'em',
);
]]>
</code>
</code_comparison>
</documentation>