ShikiSuen
Well-known member
- Affected version
- 2.1.9
Italics are not expected to be shown in East-Asian written languages (Korean, Japanese, Chinese).
(Plus, computer fonts on Windows render italic East-Asian texts terrible.)
I temporarily wrote a patch, but I think it has some limitations.
Since I think this is a bug for XenForo to resolve in its default theme template, I posted it here.
P.S.: one "zh" selector is enough for all Chinese language tags, including the current standard (zh-cmn-Hans, etc.) and those deprecated standards (zh-CN, etc.).
I wonder how "cite" behaves in which occasions in XenForo.
(Plus, computer fonts on Windows render italic East-Asian texts terrible.)
I temporarily wrote a patch, but I think it has some limitations.
Since I think this is a bug for XenForo to resolve in its default theme template, I posted it here.
P.S.: one "zh" selector is enough for all Chinese language tags, including the current standard (zh-cmn-Hans, etc.) and those deprecated standards (zh-CN, etc.).
CSS:
:lang(zh), :lang(ja), :lang(ko){
i, cite, em, var, address, dfn {font-style: normal;}
.message-body i {border-bottom: dashed 1px @xf-paletteColor3 !important;}
}
I wonder how "cite" behaves in which occasions in XenForo.
Last edited: