【问题标题】:Crayan Syntax highlighter not showing my xml code properly蜡笔语法荧光笔未正确显示我的 xml 代码
【发布时间】:2015-11-09 07:31:24
【问题描述】:

我在我的 wordpress 网站中安装了“Crayon Syntax Highlighter”插件。

它没有正确显示我的 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>

当我在我的网站上看到它时,它看起来像这样,

有什么解决办法吗?

【问题讨论】:

标签: xml wordpress syntax-highlighting syntaxhighlighter


【解决方案1】:

只需在 Crayon Syntax Highlighter Settings 中勾选 'Decode HTML entity in code',您就可以开始了。

【讨论】:

  • 我必须取消选中此选项才能更正问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2010-11-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-10-23
  • 2021-12-27
  • 1970-01-01
相关资源
最近更新 更多