Subramanya Sastry has submitted this change and it was merged.

Change subject: For some reason we get text_bottom instead of text-bottom and 
text_top instead of text-top.
......................................................................


For some reason we get text_bottom instead of text-bottom and text_top instead 
of text-top.

This is a simple workaround, the source of the problem might me in pegtokenizer.

Change-Id: If42ba37086341cd96755aa6edeee8bdc80dd4bed
---
M js/lib/ext.core.LinkHandler.js
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Subramanya Sastry: Verified; Looks good to me, approved
  GWicke: Looks good to me, approved



diff --git a/js/lib/ext.core.LinkHandler.js b/js/lib/ext.core.LinkHandler.js
index 843116f..1402c9f 100644
--- a/js/lib/ext.core.LinkHandler.js
+++ b/js/lib/ext.core.LinkHandler.js
@@ -433,7 +433,7 @@
                                wrapperClasses.push( 'mw-valign-top' );
                                break;
 
-                       case 'text-top':
+                       case 'text_top':
                                wrapperClasses.push( 'mw-valign-text-top' );
                                break;
 
@@ -441,7 +441,7 @@
                                wrapperClasses.push( 'mw-valign-bottom' );
                                break;
 
-                       case 'text-bottom':
+                       case 'text_bottom':
                                wrapperClasses.push( 'mw-valign-text-bottom' );
                                break;
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If42ba37086341cd96755aa6edeee8bdc80dd4bed
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Inez <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Inez <[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