Santhosh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/119931

Change subject: Segmentation: Add test for figure tags
......................................................................

Segmentation: Add test for figure tags

Change-Id: I109c13613d8927bdd7b9346e5d20110e51220816
---
M tests/segmentation/SegmentationTests.json
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver 
refs/changes/31/119931/1

diff --git a/tests/segmentation/SegmentationTests.json 
b/tests/segmentation/SegmentationTests.json
index 23cc2df..a65b30a 100644
--- a/tests/segmentation/SegmentationTests.json
+++ b/tests/segmentation/SegmentationTests.json
@@ -27,6 +27,10 @@
                {
                        "source": "<p><a href=\"#\">Hydrogen</a> is a <a 
href=\"#\">gas</a></p>",
                        "result": "<p id=\"0\"><span class=\"cx-segment\" 
data-segmentid=\"1\"><a class=\"cx-link\" data-linkid=\"2\" 
href=\"#\">Hydrogen</a> is a <a class=\"cx-link\" data-linkid=\"3\" 
href=\"#\">gas</a></span></p>"
+               },
+               {
+                       "source": "<figure><a href=\"#\"><img 
src=\"img.png\"></a><figcaption>Figure caption</figcaption></figure>",
+                       "result": "<figure id=\"0\"><a class=\"cx-link\" 
data-linkid=\"1\" href=\"#\"><img src=\"img.png\"></img></a><figcaption 
id=\"2\"><span class=\"cx-segment\" data-segmentid=\"3\">Figure 
caption</span></figcaption></figure>"
                }
        ],
        "hi": [

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I109c13613d8927bdd7b9346e5d20110e51220816
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to