<!DOCTYPE HTML>
<html>
 <head>
  <meta charset="utf-8">
  <title>Inline blocks shouldn't end the paragraph</title>
 </head>
 <body>
  <p><span dir="rtl">אני אוהב</span>--&gt;<span style="display: inline-block">Firefox 4&nbsp;</span>--&gt;8 ימים בשבוע
  </p>
 </body>
</html>
