The 'direction' and 'unicode-bidi' rules must not be made default.
Right-to-left languages can use preformatted text too!
Follow-up to
054b1c9e3cd82ee96bb6ee2be3026497e5f9f099.
(Also linked T2260, which that commit fixed.)
Bug: T103780
Change-Id: Ieab6b1473e6ce0faed3617d11e57cd2b4f3ef6df
padding: 1px 4px;
}
-pre, .mw-code {
+pre,
+.mw-code {
color: black;
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 1em;
- /* @noflip */
- direction: ltr;
- unicode-bidi: embed;
- /* Wrap lines in overflow. T103780 */
+ /* Wrap lines in overflow. T2260, T103780 */
white-space: pre-wrap;
}