From d5693aa0c5c48207f0cfc5f8e7dd4fab1d4f822b Mon Sep 17 00:00:00 2001 From: Felix-CodingClimber Date: Sun, 31 Mar 2024 20:23:42 +0200 Subject: [PATCH] Updated DiffViewer example. --- .../Components/Pages/DiffViewerExample.razor | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/samples/DotNetElements.CrudExample/Components/Pages/DiffViewerExample.razor b/samples/DotNetElements.CrudExample/Components/Pages/DiffViewerExample.razor index 559536f..d268d04 100644 --- a/samples/DotNetElements.CrudExample/Components/Pages/DiffViewerExample.razor +++ b/samples/DotNetElements.CrudExample/Components/Pages/DiffViewerExample.razor @@ -26,28 +26,24 @@ private SideBySideDiffModel? diff; private string? textA = - @" - unchanged 1 - unchanged 2 - Huhu 1 - test abc test1 abc - deleted - here is a unchanged line - "; +@"unchanged 1 +unchanged 2 +Huhu 1 +test abc test1 abc +deleted +here is a unchanged line"; private string? textB = - @" - unchanged 1 - unchanged 2 - Huhu 2 - blub abc test2 abc - - new test 1 - new test 2 - new test 3 - here is a unchanged line - but this is new again - "; +@"unchanged 1 +unchanged 2 +Huhu 2 +blub abc test2 abc + +new test 1 +new test 2 +new test 3 +here is a unchanged line +but this is new again"; private void OnShowDiff() {