From 0655175f6f5e69fc47772f85e49ff7a31c48f95b Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 24 Mar 2022 13:40:05 +0800 Subject: [PATCH] fix error in rtf --- docs/src/Roo_rtf_Parser.js.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/src/Roo_rtf_Parser.js.html b/docs/src/Roo_rtf_Parser.js.html index 26d7659d38..cb72a4efb0 100644 --- a/docs/src/Roo_rtf_Parser.js.html +++ b/docs/src/Roo_rtf_Parser.js.html @@ -173,7 +173,7 @@ this.hexStore.push(cmd); }, cmderror : function(cmd) { - throw new Exception (cmd.value); + throw cmd.value; }, /* @@ -303,8 +303,9 @@ { this.emitText(); if (this.controlWord === '') { - this.emitError('empty control word'); - } else { + // do we want to track this - it seems just to cause problems. + //this.emitError('empty control word'); + } else { this.push({ type: 'controlword', value: this.controlWord, -- 2.39.2