apostrophe-schemas
Advanced tools
@@ -779,3 +779,3 @@ var async = require('async'); | ||
// Render a custom field from nunjucks | ||
// Render a field from nunjucks | ||
self._apos.addLocal('aposSchemaField', function(field) { | ||
@@ -787,5 +787,5 @@ // Alow custom renderers for types and for individual fields | ||
// of this module | ||
return self.renderer(field.type)(field); | ||
return self.renderer(field.type)(field).trim(); | ||
} | ||
return render(field); | ||
return render(field).trim(); | ||
}); | ||
@@ -792,0 +792,0 @@ |
{ | ||
"version": "0.5.44", | ||
"version": "0.5.45", | ||
"name": "apostrophe-schemas", | ||
@@ -4,0 +4,0 @@ "description": "Schemas for easy editing of properties in Apostrophe objects", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
103821
0.15%0
-100%