Changes between Version 1 and Version 2 of WikiHtml


Ignore:
Timestamp:
Jun 21, 2008, 6:11:58 PM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiHtml

    v1 v2  
    1 = Wiki テキスト内で HTML を使用する =
     1= Using HTML in Wiki Text =
    22
    3 HTML [wiki:WikiProcessors WikiProcessor] の機能によって、 Trac では Wiki コンテキスト内での HTML 利用が可能です。
     3Trac supports inserting HTML into any wiki context, accomplished using the HTML [wiki:WikiProcessors WikiProcessor].
    44
    5 HTML 対応は内蔵機能であり、追加パッケージのインストールを必要としません。
     5HTML support is built-in, and does not require installing any additional packages.
    66
    7 == HTML の使い方 ==
    8 Wiki エンジンにテキストブロックが HTML として取り扱われるよう、 ''html'' プロセッサを使用するという情報を与えます。
     7== How to Use HTML ==
     8To inform the wiki engine that a block of text should be treated as HTML, use the ''html'' processor.
    99
    10 この例のような表現は:
     10This example should explain:
    1111{{{
    1212#!html
    1313<pre class="wiki">{{{
    1414#!html
    15 &lt;h1 style="text-align: right; color: blue"&gt;HTML テスト&lt;/h1&gt;
     15&lt;h1 style="text-align: right; color: blue"&gt;HTML Test&lt;/h1&gt;
    1616}}}</pre>
    1717}}}
    1818
    19 このように表示されます:
     19Results in:
    2020{{{
    2121#!html
    22 <h1 style="text-align: right; color: blue">HTML テスト</h1>
     22<h1 style="text-align: right; color: blue">HTML Test</h1>
    2323}}}
    2424
    25 Trac が HTML コードを表示する前にサニタイズすることに注意して下さい。つまり Javascript のイベントハンドラのような潜在的に危険なコードを使おうとしても、出力から削除されるということです。
     25Note that Trac sanitizes your HTML code before displaying it. That means that if you try to use potentially dangerous constructs such as Javascript event handlers, those will be removed from the output.
    2626
    27 == より詳しい情報 ==
     27== More Information ==
    2828
    2929 * http://www.w3.org/ -- World Wide Web Consortium