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

Markup visible for TOS and privacy policy #1463

Open
Thomas-git opened this issue Feb 25, 2024 · 4 comments
Open

Markup visible for TOS and privacy policy #1463

Thomas-git opened this issue Feb 25, 2024 · 4 comments

Comments

@Thomas-git
Copy link

At the end of booking (last screen), if you have chosen to show TOS and privacy policy, the markup is displayed in the popup. (

and
got visible).
It’s in dev branch. If pointed to the right direction, I might correct that myself.

@alextselegidis
Copy link
Owner

Hello!

Can you please elaborate?

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@Thomas-git
Copy link
Author

Capture d’écran du 2024-02-26 17-32-33

Here is a screenshot.

@Thomas-git
Copy link
Author

It seems the error is in booking_layout.php

<?php if (vars('display_cookie_notice') === '1'): ?>
    <?php component('cookie_notice_modal', ['cookie_notice_content' => vars('cookie_notice_content')]); ?>
<?php endif; ?>

<?php if (vars('display_terms_and_conditions') === '1'): ?>
    <?php component('terms_and_conditions_modal', [
        'terms_and_conditions_content' => vars('terms_and_conditions_content'),
    ]); ?>
<?php endif; ?>

<?php if (vars('display_privacy_policy') === '1'): ?>
    <?php component('privacy_policy_modal', ['privacy_policy_content' => vars('privacy_policy_content')]); ?>
<?php endif; ?>

But I don’t know Code Igniter enough to know how to avoid html chars escaping in this case. Can you help ?

@alextselegidis
Copy link
Owner

Hello!

Thanks for reporting this.

I will take a closer look

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

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

No branches or pull requests

2 participants