You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
All: Use Lerna to manage monorepo
This commit is contained in:
14
packages/fork-sax/test/cdata-end-split.js
Normal file
14
packages/fork-sax/test/cdata-end-split.js
Normal file
@ -0,0 +1,14 @@
|
||||
require(__dirname).test({
|
||||
expect: [
|
||||
['opentagstart', {'name': 'R', 'attributes': {}}],
|
||||
['opentag', {'name': 'R', 'attributes': {}, 'isSelfClosing': false}],
|
||||
['opencdata', undefined],
|
||||
['cdata', ' this is '],
|
||||
['closecdata', undefined],
|
||||
['closetag', 'R']
|
||||
]
|
||||
})
|
||||
.write('<r><![CDATA[ this is ]')
|
||||
.write(']>')
|
||||
.write('</r>')
|
||||
.close()
|
Reference in New Issue
Block a user