出现在HTML Android上的奇怪符号 - PhoneGap的应用 [英] Strange symbol appearing in HTML on android - phonegap app

查看:202
本文介绍了出现在HTML Android上的奇怪符号 - PhoneGap的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建与骨干移动应用的PhoneGap和CSS面漆( http://topcoat.io/)。

I'm creating a mobile app with backbone, phonegap and for css topcoat (http://topcoat.io/).

我的Andr​​oid手机上查看应用程序时,我有一个奇怪的问题。即时通讯使用的Andr​​oid版本2.3.3。它的A面邮件符号出现,看似徘徊无论使用p和span标签。

I have a strange problem when viewing the app on my android phone. Im using android version 2.3.3. A mail symbol on it's side appears, seemingly whereever p and span tags are used.

下面是code(在这种情况下,进入其他):

Here is the code (in this case it goes into the else):

<ul class="topcoat-list list">
<% _.each(players, function(player) { %>
    <li class="topcoat-list__item">

        <%
        if(checkbox){
        %>

        <label class="topcoat-radio-button">
          <input type="radio" name='player_id' value="<%= player.id %>" />
          <div class="topcoat-radio-button__checkmark"></div>
            <div class="player-details">
                <span><%= player.name %></span>
                <span><%= player.position %></span>
           </div>   
        </label>
        <%
        }
        else{
        %>
            <div class="player-details">
                <span><%= player.name %></span>
                <span><%= player.position %></span>
            </div>   
        <%
        }
        %>
            <div class="player-more">
                <a target="_blank" href="http://www.premierleague.com/<%= player.link %>">More</a>
            </div>            



    </li>
<% }); %>
</ul>

我已经通过topcoat.io CSS走了,但它并没有为SPAN或p标签的CSS ...任何想法可能是产生这个奇怪的符号?

I have gone through topcoat.io css but it doesn't set any css for span or p tags...Any ideas what could be producing this weird symbol?

推荐答案

这是一间code的问题。哪里是code生成此HTML。这可能是断行code导致它。拆下换行。

This is an encode issues. Where is the code that generates this HTML. It could be the linebreak code causing it. Remove the line break.

<li class="topcoat-list__item">
        <div class="player-details">
            <span>Tim Krul</span><span>Goalkeeper</span>
        </div>   
        <div class="player-more">
            <a target="_blank" href="http://www.premierleague.com//en-gb/players/profile.overview.html/tim-krul">More</a>
        </div>              
</li>

这篇关于出现在HTML Android上的奇怪符号 - PhoneGap的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆