Am 26.06.2017 um 11:55 schrieb Lukasz Lenart:
> 2017-06-26 11:50 GMT+02:00 i...@flyingfischer.ch <i...@flyingfischer.ch>:
>> Yes, the import statement is already there. It is a combined css file
>> (fonts and other CSS statements). Works perfect, also for 2.5.11. But
>> the webfonts seem to be treated differently, but only if used as <i
>> class="fa fa-envelope-o"></i>.
>>
>> I worked around for this single case.
> You mean, you have resolved the problem by using UTF entity instead as
> mentioned in some other mail?
>
>
> Regards
The following works:

<i class="fa icon-envelope"></i>
<i class="fa">&#xf003;</i>

The following does not work since 2.5.11:

<i class="fa fa-envelope-o"></i>

They all refer to the same icon.

They refer in CSS to:

.icon-envelope:before {
  content: "\e086"; }

.fa-envelope-o:before {
  content: ""; }

The later is the text being displayed since the upgrade.

Markus

PS: Tomcat runs on URI-Encoding="UTF-8"

JSP contain <meta charset="utf-8"> and <%@ page language="java"
contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to