diff --git a/src/shape/custom_shapes.js b/src/shape/custom_shapes.js
index 68805260f3..07c54fde7a 100644
--- a/src/shape/custom_shapes.js
+++ b/src/shape/custom_shapes.js
@@ -1939,7 +1939,7 @@ function customShapes(p5, fn) {
*
*
* ```js
- * splineProperty('ends', INCLUDE);
+ * splineProperty('ends', EXCLUDE);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
*
* point(25, 46);
@@ -1969,7 +1969,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
- *
+ *
* Here's the example showing positive value of tightness,
* which makes the curve tighter and more angular:
*
@@ -1979,6 +1979,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
+ *
*
* In all cases, the splines in p5.js are cardinal splines.
* When tightness is 0, these splines are often known as