2015-11-09 145 views
1

我在我的WordPress站点中安装了“Crayon Syntax Highlighter”插件。Crayan语法突出显示不能正确显示我的xml代码

它没有正确显示我的XML代码。 这是我的实际XML代码

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="androidumps.activeandroid" > 

<application 
android:name=".InitApplication" 
android:allowBackup="true" 
android:icon="@mipmap/ic_launcher" 
android:label="@string/app_name" 
android:theme="@style/AppTheme" > 
<!-- AA_DB_NAME points your database name --> 
<meta-data 
android:name="AA_DB_NAME" 
android:value="rootdatabase.db" /> 
<!-- AA_DB_VERSION points your database version --> 
<meta-data 
android:name="AA_DB_VERSION" 
android:value="1" /> 
<activity 
android:name=".MainActivity" 
android:label="@string/app_name" > 
<intent-filter> 
<action android:name="android.intent.action.MAIN" /> 

<category android:name="android.intent.category.LAUNCHER" /> 
</intent-filter> 
</activity> 
</application> 

</manifest> 

当我看到它在我的网站,它看起来像这样, enter image description here

这个任何解决方案?

+0

尝试在他们的github页面上询问:https://github.com/aramk/crayon-syntax-highlighter/issues –

回答

2

只需勾选“代码解码HTML实体”在蜡笔小新语法高亮设置,你是好去。

+0

我必须*取消选中此选项来纠正问题。 –