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

Return null or empty string when no response was given on a field #40

Open
tjcorr opened this issue Jan 18, 2024 · 1 comment
Open

Return null or empty string when no response was given on a field #40

tjcorr opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tjcorr
Copy link

tjcorr commented Jan 18, 2024

Is your feature request related to a problem? Please describe.

When an optional field is left blank, the final markdown contains No response . This gets picked up and parsed as ordinary text by the library:

"field":{"title":"field","heading":1,"content":["*No response*"],"text":"*No response*"}

Describe the solution you would like

Ideally, it would be preferable that an empty response is detected and replaced with a null or empty string.

Describe alternatives you have considered

No response

Additional context

No response

@tjcorr tjcorr added the enhancement New feature or request label Jan 18, 2024
@PatrickHeneise
Copy link
Member

Thanks @tjcorr, that makes sense. Do you think you can add a PR for this? I'm pretty swamped at the moment.

@PatrickHeneise PatrickHeneise changed the title Feature request Return null or empty string when no response was given on a field Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants