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

Should keep <script type="application/ld+json"> #212

Closed
synox opened this issue Aug 21, 2023 · 1 comment
Closed

Should keep <script type="application/ld+json"> #212

synox opened this issue Aug 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@synox
Copy link
Collaborator

synox commented Aug 21, 2023

Description
While importing https://www.24life.com/the-search-for-sleep-part-2-technology/ I need to access <script type="application/ld+json">. It is stripped out by

DOMUtils.remove(document, ['script', 'hr']);

There should be a way to disabled proProcess cleanup, and I run into such issues often.

To Reproduce
Run any import

Expected behavior
Preserve scripts, but remove before turning into Word document.

Version:
14.24.4

Additional context
Similar to #201

Workaround
https://github.com/adobe/helix-importer-ui/blob/main/importer-guidelines.md#preprocess

@synox synox added the bug Something isn't working label Aug 21, 2023
@synox
Copy link
Collaborator Author

synox commented Aug 24, 2023

Workaround works fine

@synox synox closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant