format.htmlToSphinx

Description

<nnt3:format.htmlToSphinx />

Converts HTML tags to Sphinx syntax for TER documentation.

{annotation->f:format.raw()->nnt3:format.htmlToSphinx()}

From the following code …

<nnt3:format.htmlToSphinx>
  <p>This is a description of this method</p>
  <pre><code>$a = 99;</code></pre>
</nnt3:format.htmlToSphinx>

this is what is rendered:

This is a description of that method.

.. code-block:: php

   $a = 99;
@return string