rtf-parser
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "rtf-parser", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "This is a general RTF parser. It takes a text stream and produces a document object representing the parsed document. In and of itself, this isn't super useful but it's the building block for other tools to convert RTF into other formats.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,2 +16,3 @@ 'use strict' | ||
0: 'ASCII', | ||
2: 'SYMBOL', | ||
77: 'MacRoman', | ||
@@ -141,2 +142,7 @@ 128: 'SHIFT_JIS', | ||
// tab | ||
ctrl$tab () { | ||
this.group.addContent(new RTFSpan({ value: '\t' })) | ||
} | ||
// alignment | ||
@@ -256,2 +262,6 @@ ctrl$qc () { | ||
this.group.style.font = num | ||
let fontCharset = this.group.getFont(num).charset | ||
fontCharset = fontCharset && fontCharset !== 'ASCII' ? fontCharset : this.group.charset// default font charset | ||
this.group.charset = fontCharset | ||
} | ||
@@ -258,0 +268,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27672
731