RTL/LTR rendering engine hinting
This prevents UI glitches with RTL feeds. Use the unicode LTR marker character to hint the rending engine which part of a RTL/LTR mixed string is LTR. This prevents UI glitches with RTL feeds like http://www.ynet.co.il/Integration/StoryRss544.xml. The entity has to be outside of the span tag to prevent flickering when the counter is update via javascript.
This commit is contained in:
parent
9d31eb1a01
commit
49a905db4c
@ -5,7 +5,7 @@
|
|||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h2><?= Helper\escape($feed['title']) ?><span id="page-counter"><?= isset($nb_items) ? $nb_items : '' ?></span></h2>
|
<h2><?= Helper\escape($feed['title']) ?>‎<span id="page-counter"><?= isset($nb_items) ? $nb_items : '' ?></span></h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="?action=refresh-feed&feed_id=<?= $feed['id'] ?>&redirect=feed-items"><?= t('refresh') ?></a>
|
<a href="?action=refresh-feed&feed_id=<?= $feed['id'] ?>&redirect=feed-items"><?= t('refresh') ?></a>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<?= Helper\favicon($favicons, $feed['id']) ?>
|
<?= Helper\favicon($favicons, $feed['id']) ?>
|
||||||
|
|
||||||
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>" title="<?= t('Show only this subscription') ?>"><?= Helper\escape($feed['title']) ?></a>
|
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>" title="<?= t('Show only this subscription') ?>"><?= Helper\escape($feed['title']) ?></a>
|
||||||
<span class="items-count"><?= $feed['items_unread'] .'/' . $feed['items_total'] ?></span>
|
‎<span class="items-count"><?= $feed['items_unread'] .'/' . $feed['items_total'] ?></span>
|
||||||
|
|
||||||
<?php if ($feed['enabled']): ?>
|
<?php if ($feed['enabled']): ?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user