Module:DamagePatch: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 55: Line 55:


     if args.old then
     if args.old then
         old_content:tag('div'):wikitext(frame:preprocess('<span>' .. string.char(10) .. args.old .. '</span>'))
         old_content:tag('div'):wikitext(frame:preprocess(string.char(10) .. args.old))
     end
     end


Line 62: Line 62:


     if args.new then
     if args.new then
         new_content:tag('div'):wikitext(frame:preprocess('<span>' .. string.char(10) .. args.new .. '</span>'))
         new_content:tag('div'):wikitext(frame:preprocess(string.char(10) .. args.new))
     end
     end