Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/129099
Change subject: Remove unwanted new line and tab characters from the parsed output ...................................................................... Remove unwanted new line and tab characters from the parsed output This was introduced to help debugging. Removing them now Change-Id: Ia02457f9d771598f0e702d8a5cecfccce055be67 --- M segmentation/languages/CXParser.js 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver refs/changes/99/129099/1 diff --git a/segmentation/languages/CXParser.js b/segmentation/languages/CXParser.js index 9562eb7..532d538 100644 --- a/segmentation/languages/CXParser.js +++ b/segmentation/languages/CXParser.js @@ -82,7 +82,7 @@ this.inSentence = true; this.sawSentenceEndCandidate = false; this.inReference = false; - return '\n\t<span class="cx-segment" data-segmentid="' + ( this.segmentCount++ ) + '">'; + return '<span class="cx-segment" data-segmentid="' + ( this.segmentCount++ ) + '">'; }; /** @@ -252,7 +252,7 @@ // Avoid dangling sentence. this.print( this.endSentence() ); } - this.print( '</' + tag + '>\n' ); + this.print( '</' + tag + '>' ); } else { this.print( '</' + tag + '>' ); } -- To view, visit https://gerrit.wikimedia.org/r/129099 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia02457f9d771598f0e702d8a5cecfccce055be67 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