diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-14 01:00:29 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-14 01:00:29 -0400 |
| commit | dc766185075b5861686c68a704a8e49213eacbc6 (patch) | |
| tree | b883fd60d3997aee5ee8e4fe00cda69127777e6c /src/new_fields | |
| parent | 2b829d1028a61869858ecd48e2f1801819e17488 (diff) | |
cleanup and streamlined / robust type requirements
Diffstat (limited to 'src/new_fields')
| -rw-r--r-- | src/new_fields/RichTextField.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/RichTextField.ts b/src/new_fields/RichTextField.ts index dc66813e0..3e8803a34 100644 --- a/src/new_fields/RichTextField.ts +++ b/src/new_fields/RichTextField.ts @@ -33,6 +33,6 @@ export class RichTextField extends ObjectField { considering = considering.substring(matches.index + matches[0].length); this.Extractor.lastIndex = 0; } - return contents.length ? contents : undefined; + return contents; } }
\ No newline at end of file |
