Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore unsupported child in a Google document #42

Open
ggrossetie opened this issue Aug 6, 2021 · 0 comments
Open

Ignore unsupported child in a Google document #42

ggrossetie opened this issue Aug 6, 2021 · 0 comments
Labels

Comments

@ggrossetie
Copy link
Owner

Section breaks are DocumentApp.ElementType.UNSUPPORTED and should be ignored to avoid error.

We should add the following code:

if (child.getType() == DocumentApp.ElementType.UNSUPPORTED) {
  continue;
}

just before:

https://github.com/Mogztter/asciidoc-googledocs-addon/blob/b70259eea794eb0254741c08ed90cab42ea02eef/app/Code.gs#L67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant