Problem/Motivation
When using the content support url embed module you will not see a cookie notification if you have not accepted cookies, but a 1.
This is because the processHtmlAsString function returns a boolean and this boolean is then used in the content swap on line 84 replaceNodeContent function in the CsUrlEmbedFilter class.

Steps to reproduce
- Add a url embed field to a paragraph.
- Enter a link to a youtube video.
- Save and reject all cookies.
- A 1 is displayed.
Proposed resolution
Open for disscusion.
Remaining tasks
Decide on the approach and implement it.
User interface changes
The applicable message is displayed instead of a 1.
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| embed-ulr-consent-support-bug.jpg | 28.17 KB | dtfabio |
Issue fork consent_support-3385300
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
andreasderijckeComment #6
andreasderijcke