title: KDoc Annotations not rendered in Dokka generated HTML
body: <p>I am currently testing the Dokka documentation and some of the annotations I have made are not being rendered. Here are my findings: </p>
  
  <ol>
  <li>Classes don't show <code>@sample</code>, and html tags <code>&lt;p&gt;&lt;/p&gt;</code>, <code>&lt;h1&gt;&lt;/h1&gt;</code>: See  <code>SimpleCalculator</code> class documentation</li>
  <li>If a description was under an html tag, it will not show: See <code>enum class OPERATOR</code> code documentation</li>
  <li>Methods don't show <code>@sample</code> and <code>@property</code> at all: See all the method code documentation</li>
  <li>Mixed of definition between <code>@property</code> and <code>@param</code>. In class declarations, the <code>@param</code> is the one inside a <code>&lt;&gt;</code> (e.g. <code>Group&lt;T&gt;</code>). But in methods, it is the one inside the parameters. </li>
  </ol>
  
  <p>Please see my code: </p>
  
  <pre><code>package example
  
  /**
   * &lt;h1&gt; A Simple Calculator for your daily needs! &lt;/h1&gt;
   *
   * &lt;p&gt; This class can help you add, subract, multiply and divide Integers &lt;/p&gt;
   *
   * @property firstNumber the first Number you want to use
   * @property secondNumber the second Number you want to use.
   * @constructor Creates a Simple Calculator with the two numbers
   * @sample SimpleCalculator(100,10)
   */
  class SimpleCalculator(val firstNumber: Int, val secondNumber: Int) {
  
      /**
       * &lt;h1&gt; An OPERATOR checker to be used by the Simple Calculator &lt;/h1&gt;
       *
       * &lt;p&gt; This class has four enums namely: &lt;/p&gt;
       * - ADD
       * - SUB
       * - MUL
       * - DIV
       * @see SimpleCalculator
       */
      enum class OPERATOR { ADD, SUB, MUL, DIV }
  
      /**
       * Computes with the [firstNumber] and [secondNumber] you have created with [SimpleCalculator].
       * @param operator the required OPERATOR needed for the computation
       * @sample compute(OPERATOR.ADD)
       * @see SimpleCalculator
       * @return the required answer
       */
      fun compute(operator: OPERATOR): Int {
          return when (operator) {
              OPERATOR.ADD -&gt; add(firstNumber, secondNumber)
              OPERATOR.SUB -&gt; sub(firstNumber, secondNumber)
              OPERATOR.MUL -&gt; mul(firstNumber, secondNumber)
              OPERATOR.DIV -&gt; div(firstNumber, secondNumber)
          }
      }
  
      /**
       * Adds the [firstNumber] and [secondNumber] you have created with [SimpleCalculator].
       * @property firstNumber the first number
       * @property secondNumber the first number
       * @sample add(100, 10)
       * @see SimpleCalculator
       * @return the sum
       * @throws Exception
       */
      fun add(firstNumber: Int, secondNumber: Int): Int = firstNumber + secondNumber
  
      /**
       * Subtracts the [firstNumber] and [secondNumber] you have created with [SimpleCalculator].
       * Returns the differences
       * @param firstNumber the first number
       * @param secondNumber the second number
       * @sample sub(100, 10)
       * @see SimpleCalculator
       * @return the difference
       * @throws Exception
       */
      fun sub(firstNumber: Int, secondNumber: Int): Int = firstNumber - secondNumber
  
      /**
       * Multiplies the [firstNumber] and [secondNumber] you have created with [SimpleCalculator].
       * Using [add] as a multiplication factor
       * @sample mul(100, 10)
       * @see add
       * @return the product
       * @throws Exception
       */
      fun mul(firstNumber: Int, secondNumber: Int): Int {
          var result = firstNumber
          var i = 2
          while (i &lt; secondNumber &amp;&amp; secondNumber != 0) {
              result += add(result, firstNumber)
              i++
          }
  
          return result
      }
  
      /**
       * Divides the [firstNumber] and [secondNumber] you have created with [SimpleCalculator].
       * Using [sub] as a division factor
       * @sample div(100, 10)
       * @see sub
       * @return the dividend
       * @throws Exception
       */
      fun div(firstNumber: Int, secondNumber: Int): Int {
          var result = firstNumber
          var i = 2
          while (i &lt; secondNumber &amp;&amp; secondNumber != 0) {
              result -= sub(result, firstNumber)
              i++
          }
  
          return result
      }
  
  }
  </code></pre>
  
  <p>my top Build file:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      ext.kotlin_version = '1.2.0'
      ext.dokka_version = '0.9.15'
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.1'
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
          classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}"
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>My project build file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  apply plugin: 'kotlin-android'
  
  apply plugin: 'kotlin-android-extensions'
  
  apply plugin: 'org.jetbrains.dokka'
  
  android {
      compileSdkVersion 26
      defaultConfig {
          applicationId "com.example.hellodokka"
          minSdkVersion 18
          targetSdkVersion 26
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dokka {
      outputFormat = 'html'
      outputDirectory = "$buildDir/html"
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
      implementation 'com.android.support:appcompat-v7:26.1.0'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.1'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  }
  </code></pre>
  
  <p>OUTPUTS:</p>
  
  <p><a href="https://i.stack.imgur.com/tMooT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tMooT.png" alt="Simple Calculator"></a></p>
  
  <p><a href="https://i.stack.imgur.com/FEuCa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FEuCa.png" alt="Enum Operator"></a></p>
  
  <p><a href="https://i.stack.imgur.com/A1zMi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/A1zMi.png" alt="Add method"></a></p>
  
  <p>Can somebody help out?</p>