Version 1
[yaffs-website] / vendor / caxy / php-htmldiff / tests / fixtures / HtmlDiff / issue-28-link-changes.html
diff --git a/vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/issue-28-link-changes.html b/vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/issue-28-link-changes.html
new file mode 100644 (file)
index 0000000..6ce3098
--- /dev/null
@@ -0,0 +1,15 @@
+<oldText>
+Testing <a href="http://google.com">Link Changes</a>
+And when the link <a href="http://samelink.com">stays the same</a>
+</oldText>
+
+<newText>
+Testing <a href="http://caxy.com">Link Changes</a>
+And when the link <a href="http://samelink.com">stays the same</a>
+</newText>
+
+<expected>
+Testing <del class="diffmod diffa diffhref"><a href="http://google.com">Link Changes</a></del><ins class="diffmod diffa diffhref"><a href="http://caxy.com">Link Changes</a></ins>
+ And when the link <a href="http://samelink.com">stays the same</a>
+</expected>
+