[gatsby-source-wordpress] image between the code blocks are not replaced properly #30595
Labels
stale?
Issue that may be closed soon due to the original author not responding any more.
topic: source-wordpress
Related to Gatsby's integration with WordPress
type: bug
An issue or pull request relating to a bug in Gatsby
Description
It seems similar to #29687, but image are not replaced when image between code blocks.
Steps to reproduce
Order of blocks in the wordpress 5.7 gutenberg editor:
Gatsby output with gatsby-starter-wordpress-blog:
Expected result
The image should be replaced with gatsby-image & a static/ url
Actual result
The image were not replaced.
Same result even if other blocks are between image and code, regardless of the content of the blocks.
Also HTML blocks with "pre" or "code" tag seems to cause the same problem.
Environment
System:
OS: Linux 3.10 CentOS Linux 7 (Core)
CPU: (2) x64 Intel(R) Xeon(R) CPU E31260L @ 2.40GHz
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 12.20.0 - ~/.nvm/versions/node/v12.20.0/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v12.20.0/bin/npm
Languages:
Python: 2.7.5 - /usr/bin/python
Browsers:
Chrome: 78.0.3904.70
npmPackages:
gatsby: ^3.2.0 => 3.2.0
gatsby-image: ^3.2.0 => 3.2.0
gatsby-plugin-manifest: ^3.2.0 => 3.2.0
gatsby-plugin-offline: ^4.2.0 => 4.2.0
gatsby-plugin-react-helmet: ^4.2.0 => 4.2.0
gatsby-plugin-sharp: ^3.2.0 => 3.2.0
gatsby-source-filesystem: ^3.2.0 => 3.2.0
gatsby-source-wordpress: ^5.2.0 => 5.2.0
gatsby-transformer-sharp: ^3.2.0 => 3.2.0
npmGlobalPackages:
gatsby-cli: 3.2.0
The text was updated successfully, but these errors were encountered: