Module:Diff/sandbox: Difference between revisions

Content deleted Content added
Created sandbox
 
test
Line 112:
end
end
diff_buffer = diff_buffer.gsub(diff_buffer, "<ins></ins>", "")
diff_buffer = diff_buffer.gsub(diff_buffer, "<del></del>", "")
return diff_buffer
end
Line 271 ⟶ 273:
end
end
return returnRootroot
local returnRoot = tostring(root)
returnRoot = returnRoot.gsub(returnRoot, '</ins><ins class="diffchange diffchange-inline" style="background: #feeec8; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">', "")
returnRoot = returnRoot.gsub(returnRoot, '</ins><ins class="diffchange diffchange-inline" style="background: #d8ecff; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">', "")
return returnRoot
end