Page MenuHomePhabricator

lang attribute must be added to Babel elements to enable WebFonts
Closed, ResolvedPublic

Description

Author: gmeijssen

Description:
On systems with WebFonts enabled, Babel extension does not get triggered. Including the lang tag is a div or a span will for instance show the Tibetan script for Dzongkha or Tibetan.
Thanks,

Gerard

Version: unspecified
Severity: normal

Details

Reference
bz35366

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:19 AM
bzimport set Reference to bz35366.

This was introduced in r84020 but reverted in r97716.

I support (re-)adding the lang attributes, in most cases this is more correct and it has the advantage of triggering WebFonts.

Nikerabbit says in the revert message: "we should not tag language unless we are pretty much certain it is correct". Is this really a problem? If the language is not correct it should just be translated.