Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Fix: regression when no media mapping provided #152

Merged

Conversation

eyelidlessness
Copy link
Contributor

The change introduced in #150 causes errors/inconsistent URL-escaping behavior when:

  • No media mapping is provided by the survey
  • A survey includes binary defaults
  • A survey references a jr: URL in markdown

This fix restores the previous behavior, but incorporates the fix from #150 to prevent incorrectly injecting paragraphs into markdown fragments.

The change introduced in enketo#150 causes errors/inconsistent URL-escaping behavior when:

- No media mapping is provided by the survey
- A survey includes binary defaults
- A survey references a `jr:` URL in markdown

This fix restores the previous behavior, but incorporates the fix from enketo#150 to prevent incorrectly injecting paragraphs into markdown fragments.
@eyelidlessness eyelidlessness requested review from MartijnR and lognaturel and removed request for MartijnR May 5, 2022 22:44
@eyelidlessness
Copy link
Contributor Author

Sorry for review request noise @MartijnR, tagged you by mistake while the reviewers menu was updating. (But of course you're welcome to take a look!)

@lognaturel lognaturel merged commit 4945f89 into enketo:master May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants