gamnit: by default, use the generated mipmap for minification
[nit.git] / src / doc / doc_down.nit
index a263804..dbb5252 100644 (file)
@@ -28,11 +28,11 @@ redef class MDoc
        var comment: String is lazy do
                var lines = content.to_a
                if not lines.is_empty then lines.shift
-               return content.join("\n").html_escape
+               return content.join("\n")
        end
 
        # Full comment HTML escaped.
-       var documentation: String is lazy do return content.join("\n").html_escape
+       var documentation: String is lazy do return content.join("\n")
 
        private var markdown_proc: MarkdownProcessor is lazy, writable do
                return original_mentity.as(not null).model.nitdoc_md_processor
@@ -73,7 +73,7 @@ redef class MDoc
                           not lines.first.has_prefix("\t") then
                                # parse synopsys
                                var syn = inline_proc.process(lines.shift)
-                               res.add "<p class=\"synopsys\">{syn}</p>"
+                               res.add "<h1 class=\"synopsys\">{syn}</h1>"
                        end
                end
                # check for annotations