Module:Heeder

local p = {}

local root = mw.html.create function p.hello

root :wikitext('Lorem ') :tag('span') :css('color', 'red') :attr('title', 'ipsum dolor') :wikitext('sit amet') :done :tag('div') :wikitext('consectetur adipisicing')

local s = tostring(root)

end return p

-- s = 'Lorem sit amet consectetur adipisicing '