PHP Classes

File: public/js/tinymce/src/plugins/visualchars/src/test/js/atomic/HtmlTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/visualchars/src/test/js/atomic/HtmlTest.js   Download  
File: public/js/tinymce/src/plugins/visualchars/src/test/js/atomic/HtmlTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 614 bytes
 

Contents

Class file image Download
test( 'atomic.tinymce.plugins.visualchars.HtmlTest', [ 'ephox.agar.api.RawAssertions', 'tinymce.plugins.visualchars.core.Html' ], function (RawAssertions, Html) { var nbsp = '\u00a0'; var shy = '\u00AD'; RawAssertions.assertEq( 'should return correct span', '<span data-mce-bogus="1" class="mce-nbsp">' + nbsp + '</span>', Html.wrapCharWithSpan(nbsp) ); RawAssertions.assertEq( 'should return correct span', '<span data-mce-bogus="1" class="mce-shy">' + shy + '</span>', Html.wrapCharWithSpan(shy) ); } );