Skip to content

Commit d3859b8

Browse files
authored
Merge pull request #412 from apeckham/patch-1
Fix indentation in Diff2HtmlUI example
2 parents 7ef1a6f + c6ccf02 commit d3859b8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ document.addEventListener('DOMContentLoaded', () => {
269269
</head>
270270
<script>
271271
const diffString = `diff --git a/sample.js b/sample.js
272-
index 0000001..0ddf2ba
273-
--- a/sample.js
274-
+++ b/sample.js
275-
@@ -1 +1 @@
276-
-console.log("Hello World!")
277-
+console.log("Hello from Diff2Html!")`;
272+
index 0000001..0ddf2ba
273+
--- a/sample.js
274+
+++ b/sample.js
275+
@@ -1 +1 @@
276+
-console.log("Hello World!")
277+
+console.log("Hello from Diff2Html!")`;
278278
279279
document.addEventListener('DOMContentLoaded', function () {
280280
var targetElement = document.getElementById('myDiffElement');

0 commit comments

Comments
 (0)