Upgrade to 3.7.0
This commit is contained in:
0
kirby/src/Parsley/Element.php
Normal file → Executable file
0
kirby/src/Parsley/Element.php
Normal file → Executable file
4
kirby/src/Parsley/Inline.php
Normal file → Executable file
4
kirby/src/Parsley/Inline.php
Normal file → Executable file
@@ -149,7 +149,7 @@ class Inline
|
||||
|
||||
// close self-closing elements
|
||||
if (Html::isVoid($node->tagName) === true) {
|
||||
return '<' . $node->tagName . attr($attrs, ' ') . ' />';
|
||||
return '<' . $node->tagName . Html::attr($attrs, null, ' ') . ' />';
|
||||
}
|
||||
|
||||
$innerHtml = static::parseInnerHtml($node, $marks);
|
||||
@@ -160,7 +160,7 @@ class Inline
|
||||
}
|
||||
|
||||
// create the outer html for the element
|
||||
return '<' . $node->tagName . attr($attrs, ' ') . '>' . $innerHtml . '</' . $node->tagName . '>';
|
||||
return '<' . $node->tagName . Html::attr($attrs, null, ' ') . '>' . $innerHtml . '</' . $node->tagName . '>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
0
kirby/src/Parsley/Parsley.php
Normal file → Executable file
0
kirby/src/Parsley/Parsley.php
Normal file → Executable file
0
kirby/src/Parsley/Schema.php
Normal file → Executable file
0
kirby/src/Parsley/Schema.php
Normal file → Executable file
0
kirby/src/Parsley/Schema/Blocks.php
Normal file → Executable file
0
kirby/src/Parsley/Schema/Blocks.php
Normal file → Executable file
0
kirby/src/Parsley/Schema/Plain.php
Normal file → Executable file
0
kirby/src/Parsley/Schema/Plain.php
Normal file → Executable file
Reference in New Issue
Block a user