Module:Dash: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 58: Line 58:
local d2 = frame.args["d2"]
local d2 = frame.args["d2"]
local in_str = frame.args["input_str"]
local in_str = frame.args["input_str"]
local debugg = frane.args["debug"]
return p._dash(in_str, s, d, d2)
local result = p._dash(in_str, s, d, d2)
return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
end
end


return p
return p