Automattic / Automattic/jetpack

Related Posts Block within article cause <nav class> error in Instant Article

Open
#13,462 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Related Posts [Focus] Blocks [Pri] Low Bug Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Enable Jetpack Related Posts Block within line of article
2. Use iA plugin on posts
3. I've used the "Ignore Rule" but nothing happened

#### What I expected
Expected there is no error so that the article can transform into IA without any error.

#### What happened instead
This post was transformed into an Instant Article with some warnings as below:

No rules defined for in the context of InstantArticle

**Screenshots**
![jetpack error](https://user-images.githubusercontent.com/55309812/64905683-9cb2fa80-d70e-11e9-852d-64d71bff8a33.png)

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by reproducing the transformation with Jetpack Related Posts Block enabled and the Instant Articles plugin active, then trace the warning for the jp-relatedposts-i2 nav element. Done means the article transforms without this warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.