Test1
{{String diff|Before|After}}

{{String diff}}

Before
+
After

{{String diff/sandbox}}


Test2
{{String diff|A longer string before.|Still a long string after.}}

{{String diff}}

A longer string before.
+
Still a long string after.

{{String diff/sandbox}}