create-prisma-php-app 2.2.17 → 2.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -240,9 +240,10 @@ class TemplateCompiler
240
240
  $componentInstance->children = implode('', $childOutput);
241
241
 
242
242
  $renderedContent = $componentInstance->render();
243
- if (self::hasComponentTag($renderedContent)) {
243
+ if (strpos($renderedContent, '{{') !== false || self::hasComponentTag($renderedContent)) {
244
244
  return self::compile($renderedContent);
245
245
  }
246
+
246
247
  return $renderedContent;
247
248
  } else {
248
249
  $childOutput = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "2.2.17",
3
+ "version": "2.2.18",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",