You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have this weird thing where in a number of stories, there’s a code in the original HTML on our Drupal site that looks like this:
<li dir="ltr">
<p> XXXXXXX </p>
</li>
Not sure how that slipped into our editorial workflow. ... It’s unnecessary to have “direction=left to right” in the code, but it displays fine on Drupal. But it breaks in Wordpress — the bullet is on the line above the text. We could go in and fix all of these instances, but it would be a royal pain. Is there a stylesheet fix?
@MirandaEcho These list items aren't breaking because of the dir="ltr" attribute. They're breaking because there's a <p> tag holding the text inside of the list item element.
The easiest solution for this would be to just add a display: inline; css attribute to any <p> tags inside of list items.
This will likely be a post-launch thing if there is a programmatic way to handle, but its worth us taking a quick look at now to know either way
The text was updated successfully, but these errors were encountered: