alleyinteractive / alleyinteractive/photonfill

markup validation -- data-id attribute missing preceding "

Đang mở
#90 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
15
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The `data-id` html attribute on the `` element is missing it's preceding `"`.

live example: https://thinkprogress.org/epa-nominee-losing-gop-support-19c18ac13755/
```html






House Speaker Paul Ryan (R-WI) arrives for a meeting with House Republicans and President Donald Trump, Thursday, Nov. 16, 2017, on Capitol Hill in Washington. (CREDIT: AP Photo/Jacquelyn Martin)

```

To fix:
https://github.com/alleyinteractive/photonfill/blob/87233ae2014ea8f94876e4cd01b983641dba93a9/php/class-photonfill.php#L995

```php
$html = '';
```

#should read

```php
$html = '';
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.