Module:Shortcut: Difference between revisions

m
remove line breaks to allow transclusion in list items
Enwikipedia>Galobtter
(make code nicer)
Enwikipedia>Jc86035
m (remove line breaks to allow transclusion in list items)
Line 65:
anchorDiv:tag('span'):attr('id', anchor)
end
 
root:newline() -- To match the old [[Template:Shortcut]]
 
-- Shortcut heading
Line 75 ⟶ 73:
shortcutHeading = message(cfg['shortcut-heading'], nShortcuts)
shortcutHeading = frame:preprocess(shortcutHeading)
shortcutHeading = shortcutHeading .. '\n'
end
end
Anonymous user