10,735
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 16: | Line 16: | ||
if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText and not data.nobold then | if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText and not data.nobold then | ||
return "<b>" .. alt .. "</b>" | return "<b>" .. alt .. "</b>" | ||
elseif mw.ustring.match(link,"^([%?-–—]+)$") then | elseif mw.ustring.match(link,"^(%s*[%?-–—]+%s*)$") then | ||
return alt | return alt | ||
else | else |