| @@ -570,9 +570,10 @@ | ||
| 570 | 570 | |
| 571 | 571 | $schema = [ |
| 572 | 572 | '@context' => 'https://schema.org', |
| 573 | 573 | '@type' => 'HowTo', |
| 574 | - 'name' => $name, | |
| 574 | + // The fallback is get_the_title(), texturized HTML (#976). | |
| 575 | + 'name' => \ThinkRank\Core\Seo_Text::normalize_schema_name((string) $name), | |
| 575 | 576 | 'step' => $step_entities, |
| 576 | 577 | ]; |
| 577 | 578 | |
| 578 | 579 | $description = isset($attrs['description']) ? trim(wp_strip_all_tags((string) $attrs['description'])) : ''; |