jenkins-bot has submitted this change and it was merged.

Change subject: Add test for minimal external link serialization
......................................................................


Add test for minimal external link serialization

Change-Id: I425c1eb04ebf5c13a7fbdf97ee48c983460f1095
---
M js/tests/parserTests.txt
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/js/tests/parserTests.txt b/js/tests/parserTests.txt
index 6a3726d..139c1e1 100644
--- a/js/tests/parserTests.txt
+++ b/js/tests/parserTests.txt
@@ -3182,6 +3182,17 @@
 
href="https://github.com/search?l=&amp;q=ResourceLoader+%40wikimedia";>Search</a></p>
 !! end
 
+!! test
+Parsoid: use url link syntax for links where the content is equal the link
+target
+!! options
+parsoid
+!! input
+http://example.com
+!! result
+<p><a rel="mw:ExtLink" href="http://example.com";>http://example.com</a></p>
+!! end
+
 ###
 ### Quotes
 ###

-- 
To view, visit https://gerrit.wikimedia.org/r/71167
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I425c1eb04ebf5c13a7fbdf97ee48c983460f1095
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to