"मोड्युल:Su" को बिचमी भिन्नता
Content deleted Content added
ना deleted duplicate font-family |
wrapped output in semantic <sup> and <sub> tags, simplified and/or logic |
||
पंक्ति ४४:
}
else
span:css('font-size',
end
if options.align == 'r' or options.align == 'right' then
पंक्ति ५६:
-- Add the wikitext.
span
:
:css('font-size', 'inherit')
:css('line-height', 'inherit')
:css('vertical-align', 'baseline')
:wikitext(sup)
:done()
:tag('br', {selfClosing = true}):done()
:
:css('font-size', 'inherit')
:css('line-height', 'inherit')
:css('vertical-align', 'baseline')
:wikitext(sub)
return tostring(span)
|