PHP unit 8.2, cel builder br/input fix, doctype add, sync .user.ini
- do not sync .user.ini file in sync template - add PHP 8.2 for test target phpunit - cel/phfo builder update to not close br or img tags (besides input) - psalm settings update - add doctype to all base templates
This commit is contained in:
@@ -1014,8 +1014,12 @@ function phfo(tree)
|
||||
} else if (tree.content) {
|
||||
content.push(tree.content);
|
||||
}
|
||||
// if not input close
|
||||
if (tree.tag != 'input') {
|
||||
// if not input, image or br, then close
|
||||
if (
|
||||
tree.tag != 'input' ||
|
||||
tree.tag != 'img' ||
|
||||
tree.tag != 'br'
|
||||
) {
|
||||
content.push('</' + tree.tag + '>');
|
||||
}
|
||||
// combine to string
|
||||
|
||||
Reference in New Issue
Block a user