An open API service indexing awesome lists of open source software.

https://github.com/hex-digital/acf-bug-example


https://github.com/hex-digital/acf-bug-example

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# ACF Bug Example

There appears to be a bug when rendering ACF Blocks that use AlpineJS syntax.

A block containing data like this:

```html

```

will escape the trailing quote, meaning the x-init="" is not closed, and the
code will not work.

```html

## Steps to Reproduce

- Clone this repo as a theme into an existing WP installation
- Activate the theme
- Create a page
- Add the "Test Block" to the page
- Publish page
- Go to the page in browser, and view source code
- Observe the above described bug