title: How to set direction for both of persian and english text in <p> tag using css?
body: <p>How to set css for persian and english text in one <code>&lt;p&gt;&lt;/p&gt;</code>? All my text are in <code>p</code> tag. Direction for persian must be <code>rtl</code> and english must be <code>ltr</code>.</p>
  <p><strong>html</strong>:</p>
  <pre><code>&lt;p&gt;
   این یک تست است.
  
  Test{
  required int a = 1;
  }
  &lt;/p&gt;
  </code></pre>
  <p><strong>css</strong>:</p>
  <pre><code>p :not([dir=ltr]){ 
     direction: rtl;
     text-align: justify;
   }
  </code></pre>
  <p>What is should I do? I just can change css and html files read from <code>Wordpress</code>.</p>