@formspec/build 0.1.0-alpha.23 → 0.1.0-alpha.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1171,6 +1171,7 @@ import {
1171
1171
  TSDocConfiguration,
1172
1172
  TSDocTagDefinition,
1173
1173
  TSDocTagSyntaxKind,
1174
+ DocExcerpt,
1174
1175
  DocPlainText,
1175
1176
  DocSoftBreak,
1176
1177
  TextRange
@@ -1878,6 +1879,9 @@ function extractBlockText(block) {
1878
1879
  }
1879
1880
  function extractPlainText(node) {
1880
1881
  let result = "";
1882
+ if (node instanceof DocExcerpt) {
1883
+ return node.content.toString();
1884
+ }
1881
1885
  if (node instanceof DocPlainText) {
1882
1886
  return node.text;
1883
1887
  }