| 1234567891011121314151617181920212223242526 |
- /**
- * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- import { testDataProcessor } from '../_utils/utils';
- describe( 'GFMDataProcessor', () => {
- describe( 'html', () => {
- it( 'should keep html', () => {
- testDataProcessor(
- 'test with <keep>html</keep> and <notkeep>not html</notkeep>',
- '<p>test with <keep>html</keep> and <notkeep>not html</notkeep></p>',
- 'test with <keep>html</keep> and not html',
- {
- setup: dataProcessor => {
- dataProcessor.keepHtml( 'keep' );
- }
- }
- );
- } );
- } );
- } );
|