Skip to content

Commit

Permalink
Add some tags that we ignore even if they are not flagged ignorable
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna committed Sep 17, 2017
1 parent d4159bb commit 629d5b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rtf-interpreter.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,17 @@ class RTFInterpreter extends Writable {
ctrl$margb (value) {
this.doc.marginBottom = value
}

// unsupported (and we need to ignore content)
ctrl$stylesheet (value) {
this.group.ignorable = true
}
ctrl$info (value) {
this.group.ignorable = true
}
ctrl$mmathPr (value) {
this.group.ignorable = true
}
}

class FontTable extends RTFGroup {
Expand Down

0 comments on commit 629d5b1

Please sign in to comment.