Skip to content

Commit 6a986ae

Browse files
committed
nowiki this
1 parent dbc7fbd commit 6a986ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/obbywiki.com/RobloxBadges/RobloxBadges.module.luau

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ local function build_table(badges, thumb_map, icon_px, frame)
164164

165165
local parsed_name = b.name
166166

167-
parsed_name = string.gsub(parsed_name, '%[', '\\[')
168-
parsed_name = string.gsub(parsed_name, '%]', '\\]')
167+
-- parsed_name = string.gsub(parsed_name, '%[', '[')
168+
parsed_name = string.gsub(parsed_name, '%]', '<nowiki>]</nowiki>')
169169

170170
row:tag("td"):wikitext('[https://www.roblox.com/badges/' .. (b.string_id or tostring(b.id or 0)) .. '/badge ' .. parsed_name .. ']')
171171
row:tag("td"):wikitext(b.description ~= "" and b.description or "—")

0 commit comments

Comments
 (0)