1

これはおそらくかなり簡単ですが、どこにも解決策が見つかりません。使用時:

http://www.steamdev.com/snippet/

$("pre.htmlCode").snippet("html",{style:"greenlcd"});

 

<pre class="htmlCode" style="float:left;">
    <h1>Snippet style selector</h1>
    <div class="instructions">
        <p>Choose your style below.</p>
        <p>Preview your style here.</p>
    </div>
    <!-- 39 styles to choose from! -->
</pre>

タグが次のように処理されていることを除いて、これは機能しているようです。

ここに画像の説明を入力

これを防ぐにはどうすればよいですか?これが十分に明確であることを願っています!

4

2 に答える 2

1

&lt;< ではなく使用

于 2012-11-14T19:18:51.807 に答える