-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-fix nested CDATA tags in the note content
- Loading branch information
Showing
3 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export4.dtd"> | ||
<en-export export-date="20230121T235625Z" application="Evernote" version="10.19.2"> | ||
<note> | ||
<title>Test note with nested CDATA tags</title> | ||
<created>20230121T235548Z</created> | ||
<updated>20230121T235625Z</updated> | ||
<tag>test data</tag> | ||
<tag>data</tag> | ||
<note-attributes> | ||
<author>me</author> | ||
</note-attributes> | ||
<content> | ||
<![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"> | ||
<en-note> | ||
<div>email</div> | ||
<![CDATA[>]]> | ||
<div><b>Title</b><span><br/></span></div> | ||
<div>Date<br/></div> | ||
<div>text</div>]] | ||
<![CDATA[>]]> | ||
<div><br></div> | ||
<div lang="EN-US"> | ||
</div> | ||
<div><br/></div> | ||
</en-note> ]]> | ||
</content> | ||
</note> | ||
</en-export> |