Support » Plugin: AMP for WP - Accelerated Mobile Pages » HTML not being rendered in notice bar / GPDR – legal issue

  • Resolved frenchomatic

    (@frenchomatic)


    This is the same problem as on 404 pages – it is a critical error. Live sites are likely to be breaking the law in the EU. If you simply put an error message into the notifications for the cookies notice bar then any html is not rendered. Of course you will alwys want to include a link to your cookies / privacy page but now you can’t.

    For example this code will not render properly. It means that a person cannot get to the page

    This site uses cookies and complies with the GPDR - <a href="https://www.mydomain.com">more informations</a>

    • This topic was modified 4 years, 10 months ago by frenchomatic.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @frenchomatic,

    We have also checked this issue and yes your concern is valid and thank you for creating a GitHub ticket – https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/2671 and our lead developers are working on it and it will be fixed as soon as possible.

    citynews

    (@citynewskoeln)

    Hello dear team,

    we also urgently need the option to re-insert HTML into the cookie notice so that EU users can access the imprint and the privacy policy as a link directly. Can you tell us when this possibility will be back? Otherwise we (and actually all other users in the EU) have to remove your plugin in this form.

    Thread Starter frenchomatic

    (@frenchomatic)

    You can go to github and download features.php and the 404.php file which has been committed. The cookie notice/GPDR and the 404 error page will show correctly. In the 404.php file you will need to edit it because everything has been put between <h1> tags so the error page will look strange with only big writing. Just remove the surround <h1 class="amptitle"> and </h1>

    https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/2671

    citynews

    (@citynewskoeln)

    Sorry, but that’s too technical for me. I’d like to know when this bug (which means you can no longer use HTML in the cookie notice / GPDR) will be fixed and when this update will be released.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @citynewskoeln,

    We’ve fixed this issue and also pushed an update which is Version 0.9.97.21, you can go ahead and update this which addresses your concern.

    Thread Starter frenchomatic

    (@frenchomatic)

    This is not completely fixed for the 404 page because a <h1 class="amptitle"> tag is being placed around all of the content. It means html within your 404 error page doesn’t show as expected. The H1 needs to be removed.

    citynews

    (@citynewskoeln)

    @ampforwp

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HTML not being rendered in notice bar / GPDR – legal issue’ is closed to new replies.