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

Restrict base tag config to processHtml method #2458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koertho
Copy link

@koertho koertho commented May 19, 2021

This PR is fix to #2452 . I'm new to this library and can't estimate possible side effects, so this is more a draft. Also there are no new tests, since I don't know how (I know PHP Unit, but not how things processed and stored by this library and the cache is cleared before the render method is finished).

This PR changes how the base tag content is processed. Instead of overriding the global protocol, baseHost and basePath properties, it introduces local variables. This will fix that local images are not loaded correct, if remote is disabled and a base tag is set (without a base tag css files are not loaded).

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

Successfully merging this pull request may close these issues.

None yet

1 participant