Skip to content

Commit d6db56b

Browse files
author
David Karlaš
committed
Add xml to example app
1 parent a996293 commit d6db56b

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

samples/BlazorTextDiff.Web/Pages/Index.razor

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,22 @@
2020

2121

2222
@code {
23-
string left = @"Mr. and Mrs. Fursley, of number six, Sunset Drive, were proud to say that they were almost perfectly normal. They were the last people you'd expect to be involved in anything weird or mysterious, because they just didn't hold with such nonsense.
23+
string left = @"Mr. and Mrs. Fursley, of number six, Sunset Drive, were proud to say that they were almost perfectly normal. They were the last people you'd expect to be involved in anything weird or mysterious, because they just didn't hold with such nonsense.
2424
Mr. Fursley was the director of a firm called Brunings, which made hatchets. He was a big, well fed man with no neck, although he did have a very large mustache. Mrs. Fursley was petite and blonde and had nearly twice the usual amount of neck, which came in very useful as she spent so much of her time bending over garden fences, spying on the neighbors. The Fursley's had a small son called Fudley and in their opinion there was no finer boy anywhere.
25-
The Dursleys had everything they wanted...";
26-
string right = @"Mr. and Mrs. Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much. They were the last people you'd expect to be involved in anything strange or mysterious, because they just didn't hold with such nonsense.
25+
The Dursleys had everything they wanted...
26+
27+
<some>
28+
<xml1>
29+
</xml1>
30+
</some>
31+
";
32+
string right = @"Mr. and Mrs. Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much. They were the last people you'd expect to be involved in anything strange or mysterious, because they just didn't hold with such nonsense.
2733
Mr. Dursley was the director of a firm called Grunnings, which made drills. He was a big, beefy man with hardly any neck, although he did have a very large mustache. Mrs. Dursley was thin and blonde and had nearly twice the usual amount of neck, which came in very useful as she spent so much of her time craning over garden fences, spying on the neighbors. The Dursleys had a small son called Dudley and in their opinion there was no finer boy anywhere.
28-
The Dursleys had everything they wanted...";
34+
The Dursleys had everything they wanted...
35+
36+
<some>
37+
<xml2>
38+
</xml2>
39+
</some>";
2940
bool collapsible = true;
3041
}

0 commit comments

Comments
 (0)