Skip to content
Snippets Groups Projects
Commit 448db89e authored by Prasad's avatar Prasad
Browse files

Fixed captcha script support in webform

parent de70289c
No related branches found
No related tags found
No related merge requests found
Loading
  • Prasad @prasad

    mentioned in merge request !832 (merged)

    ·

    mentioned in merge request !832 (merged)

    Toggle commit list
  • Nilay Khatri @nilay.automatesmb ·

    @prasad we need not do that, instead of deferred loading we can go for explicit loading of recaptcha. Will have to weigh in any cons of that.

  • Contributor

    @nilay.automatesmb what do you mean by "explicit loading"?

    @prasad the above feels a bit "hacky". I think we should find a way for the JS not to execute.

  • Author Maintainer

    @ruben.estrada - We remove script tag acceptance in the content here we are doing special case handling to retain. So is the workaround pattern.

  • Contributor

    couldn't we put something like 'RECAPTCHA_SCRIPT_PLACEHOLDER' and then replace the whole thing with <script src="https://www.google.com/recaptcha/api.js" async defer></script>. I find the <vscript> convention quite confusing.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment