diff --git a/modules/web/html/html_builder.cpp b/modules/web/html/html_builder.cpp index 1b8f3c0ec..f091f6bfd 100644 --- a/modules/web/html/html_builder.cpp +++ b/modules/web/html/html_builder.cpp @@ -659,7 +659,7 @@ HTMLTag *HTMLTag::rel_search() { } HTMLTag *HTMLTag::rel_tag() { - attrib("rel", "tag"); + attrib("rel", "_tag"); return this; } @@ -882,7 +882,7 @@ HTMLBuilder *HTMLBuilder::comment(const String &val) { HTMLTag *HTMLBuilder::doctype() { write_tag(); - return tag.start("!DOCTYPE"); + return _tag.start("!DOCTYPE"); } HTMLBuilder *HTMLBuilder::doctype(const String &val) { @@ -896,724 +896,724 @@ HTMLBuilder *HTMLBuilder::doctype(const String &val) { HTMLTag *HTMLBuilder::a() { write_tag(); - return tag.start("a"); + return _tag.start("a"); } HTMLTag *HTMLBuilder::abbr() { write_tag(); - return tag.start("abbr"); + return _tag.start("abbr"); } HTMLTag *HTMLBuilder::acronym() { // Not supported in HTML5. Use instead. Defines an acronym write_tag(); - return tag.start("acronym"); + return _tag.start("acronym"); } HTMLTag *HTMLBuilder::address() { write_tag(); - return tag.start("address"); + return _tag.start("address"); } HTMLTag *HTMLBuilder::applet() { // Not supported in HTML5. Use or instead. Defines an embedded applet write_tag(); - return tag.start("applet"); + return _tag.start("applet"); } HTMLTag *HTMLBuilder::area() { write_tag(); - return tag.start("area"); + return _tag.start("area"); } HTMLTag *HTMLBuilder::article() { write_tag(); - return tag.start("article"); + return _tag.start("article"); } HTMLTag *HTMLBuilder::aside() { write_tag(); - return tag.start("aside"); + return _tag.start("aside"); } HTMLTag *HTMLBuilder::audio() { write_tag(); - return tag.start("audio"); + return _tag.start("audio"); } HTMLTag *HTMLBuilder::b() { write_tag(); - return tag.start("b"); + return _tag.start("b"); } HTMLTag *HTMLBuilder::basefont() { // Not supported in HTML5. Use CSS instead. Specifies a default color, size, and font for all text in a document write_tag(); - return tag.start("basefont"); + return _tag.start("basefont"); } HTMLTag *HTMLBuilder::bdi() { write_tag(); - return tag.start("bdi"); + return _tag.start("bdi"); } HTMLTag *HTMLBuilder::bdo() { write_tag(); - return tag.start("bdo"); + return _tag.start("bdo"); } HTMLTag *HTMLBuilder::big() { // Not supported in HTML5. Use CSS instead. Defines big text write_tag(); - return tag.start("big"); + return _tag.start("big"); } HTMLTag *HTMLBuilder::blockquote() { write_tag(); - return tag.start("blockquote"); + return _tag.start("blockquote"); } HTMLTag *HTMLBuilder::body() { write_tag(); - return tag.start("body"); + return _tag.start("body"); } HTMLTag *HTMLBuilder::br() { write_tag(); - return tag.start("br", true); + return _tag.start("br", true); } HTMLTag *HTMLBuilder::button() { write_tag(); - return tag.start("button"); + return _tag.start("button"); } HTMLTag *HTMLBuilder::canvas() { write_tag(); - return tag.start("canvas"); + return _tag.start("canvas"); } HTMLTag *HTMLBuilder::caption() { write_tag(); - return tag.start("caption"); + return _tag.start("caption"); } HTMLTag *HTMLBuilder::center() { // Not supported in HTML5. Use CSS instead. Defines centered text write_tag(); - return tag.start("center"); + return _tag.start("center"); } HTMLTag *HTMLBuilder::cite() { write_tag(); - return tag.start("cite"); + return _tag.start("cite"); } HTMLTag *HTMLBuilder::code() { write_tag(); - return tag.start("code"); + return _tag.start("code"); } HTMLTag *HTMLBuilder::col() { write_tag(); - return tag.start("col"); + return _tag.start("col"); } HTMLTag *HTMLBuilder::colgroup() { write_tag(); - return tag.start("colgroup"); + return _tag.start("colgroup"); } HTMLTag *HTMLBuilder::data() { write_tag(); - return tag.start("cite"); + return _tag.start("cite"); } HTMLTag *HTMLBuilder::datalist() { write_tag(); - return tag.start("datalist"); + return _tag.start("datalist"); } HTMLTag *HTMLBuilder::dd() { write_tag(); - return tag.start("dd"); + return _tag.start("dd"); } HTMLTag *HTMLBuilder::del() { write_tag(); - return tag.start("del"); + return _tag.start("del"); } HTMLTag *HTMLBuilder::details() { write_tag(); - return tag.start("details"); + return _tag.start("details"); } HTMLTag *HTMLBuilder::dfn() { write_tag(); - return tag.start("dfn"); + return _tag.start("dfn"); } HTMLTag *HTMLBuilder::dialog() { write_tag(); - return tag.start("dialog"); + return _tag.start("dialog"); } HTMLTag *HTMLBuilder::dir() { // Not supported in HTML5. Use