X-Git-Url: http://nitlanguage.org
diff --git a/lib/html/bootstrap.nit b/lib/html/bootstrap.nit
index 66befa3..7b5084f 100644
--- a/lib/html/bootstrap.nit
+++ b/lib/html/bootstrap.nit
@@ -70,13 +70,13 @@ class Link
# Creates a link with a `title` attribute.
init with_title(href: String, text: Writable, title: nullable String) do
- self.href = href
- self.text = text
+ init(href, text)
self.title = title
end
redef fun rendering do
add "{text}"
end
@@ -112,13 +112,13 @@ class Header
# Creates a link with a `title` attribute.
init with_subtext(level: Int, text: Writable, subtext: String) do
- self.level = level
- self.text = text
+ init(level, text)
self.subtext = subtext
end
redef fun rendering do
add "