nitpretty: does not force `do` inlining on APropdefs anymore
[nit.git] / lib / html / html.nit
index f58bdf6..83ff255 100644 (file)
@@ -119,7 +119,7 @@ class HTMLTag
        # Set a 'value' for 'key'
        #     var img = new HTMLTag("img")
        #     img.attr("src", "./image.png").attr("alt", "image")
-       #     assert img.write_to_string      == """<img src="./image.png" alt="image"/>"""
+       #     assert img.write_to_string      == """<img src=".&#47;image.png" alt="image"/>"""
        fun attr(key: String, value: String): HTMLTag do
                attrs[key] = value
                return self
@@ -325,6 +325,6 @@ end
 private class HTMLRaw
        super HTMLTag
 
-       private var content: String
+       var content: String
        redef fun render_in(res) do res.add content
 end