mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
Fix sanitization issues when rendering Blade, add regression tests
This commit is contained in:
parent
567a7b09ef
commit
f6d85e3dfe
6 changed files with 104 additions and 10 deletions
|
|
@ -56,7 +56,7 @@ test('twitter falls back to the default values', function () {
|
|||
expect(seo('twitter.description'))->toBe('bar');
|
||||
expect(seo('description'))->toBe('baz');
|
||||
|
||||
expect(meta())->toContain('<meta name="twitter:title" content="foo">');
|
||||
expect(meta())->toContain('<meta name="twitter:title" content="foo" />');
|
||||
});
|
||||
|
||||
test('extensions are automatically enabled when values for them are set', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue