Release Notes / Version 11.2310
Table Of Contents
Not only for accessibility reasons, websites should prefer using the
lang
attribute over xml:lang
.
CoreMedia now provides options, to handle this mapping for language
tags within Markup with grammar CoreMedia Rich Text 1.0 in the CAE.
In addition to the mapping itself, the feature also comes with a
configurable locale normalization, that, for example, transparently
replaces so-called "grandfathered" language tags (another
recommendation by accessibility guidelines). The default normalization
is based on Locale.forLanguageTag(String)
and as
such, the behavior depends on your installed JRE.
Starting with CMCC 11.2310.1 this mapping and normalization will be
enabled by default. To disable it, adapt
BlueprintRichtextFiltersConfiguration
.
CAE Adaptations
The new Markup filter
com.coremedia.blueprint.cae.richtext.filter.LangAttributeFilter
got added to the
BlueprintRichtextFiltersConfiguration
.
If you are using a custom cae-views.xml
(as
documented in CAE Developer Manual in section
Rendering Markup within section Writing
Templates) it may require to be adapted accordingly to
benefit from this feature.
(CMS-23426)