{"id":18615628,"url":"https://github.com/hex-digital/acf-bug-example","last_synced_at":"2025-11-03T04:30:33.923Z","repository":{"id":95868213,"uuid":"334626716","full_name":"hex-digital/acf-bug-example","owner":"hex-digital","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-31T10:43:59.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T03:12:27.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hex-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-31T10:19:54.000Z","updated_at":"2021-01-31T10:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"72206739-79f2-442a-9d45-ad91d4e47750","html_url":"https://github.com/hex-digital/acf-bug-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex-digital%2Facf-bug-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex-digital%2Facf-bug-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex-digital%2Facf-bug-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex-digital%2Facf-bug-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex-digital","download_url":"https://codeload.github.com/hex-digital/acf-bug-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406497,"owners_count":19633025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:30:57.042Z","updated_at":"2025-11-03T04:30:33.895Z","avatar_url":"https://github.com/hex-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACF Bug Example\n\nThere appears to be a bug when rendering ACF Blocks that use AlpineJS syntax.\n\nA block containing data like this:\n\n```html\n\u003csection x-data=\"{query: ''}\" x-init=\"$watch('query', (value) =\u003e console.log(this) )\"\u003e\u003c/section\u003e\n```\n\nwill escape the trailing quote, meaning the x-init=\"\" is not closed, and the\ncode will not work.\n\n```html\n\u003csection x-data=\"{query: ''}\" x-init=\"$watch('query', (value) =\u003e console.log(this) )\u0026#8221;\u003e\u003c/section\u003e\n```\n\n\u003cimg alt=\"Example of bug displaying in Chrome\" src=\"https://user-images.githubusercontent.com/2754728/106381510-2bcabc00-63b1-11eb-90c3-728a31d4d0df.png\"\u003e\n\n## Steps to Reproduce\n\n- Clone this repo as a theme into an existing WP installation\n- Activate the theme\n- Create a page \n- Add the \"Test Block\" to the page\n- Publish page\n- Go to the page in browser, and view source code\n- Observe the above described bug\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex-digital%2Facf-bug-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex-digital%2Facf-bug-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex-digital%2Facf-bug-example/lists"}