microsoft / microsoft/node-fast-plist

Support CDATA in content

Open
#8 1 comment 0 reactions 1 assignee View on GitHub

@alexdima is already working on this.

Since Jun 12, 2024.

feature-request
Dominant language
TypeScript
Stars
42
Forks
11
Avg merge
1d 22h
Merged PRs (30d)
2

Description

From https://github.com/microsoft/vscode-generator-code/issues/447

It looks like plist files can also contain content encoded as CDATA

Parse https://github.com/zenorocha/sublime-javascript-snippets/blob/master/console-log.sublime-snippet

Error: Near offset 9: unexpected opened tag snippet ~~~
<![CDATA[
=========================~~~
at fail (D:\Program Files\nodejs\node_modules\generator-code\node_modules\fast-plist\release\src\main.js:114:15)
at _parse (D:\Program Files\nodejs\node_modules\generator-code\node_modules\fast-plist\release\src\main.js:452:16)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.