diff --git a/source/texk/web2c/mplibdir/ChangeLog b/source/texk/web2c/mplibdir/ChangeLog
index 728957b23e20e0a5f294787d46525e9430b0c2d2..e06278298ac54bad0c988aec80f836be6272122b 100644
--- a/source/texk/web2c/mplibdir/ChangeLog
+++ b/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-08   Luigi Scarso <luigi.scarso@gmail.com>
+	* Fixed a typo in the svg backend that was confusing the draw attributes --
+	see metapost ml  Missing stroke-linejoin attribute in SVG output for filldraw command
+	(thanks to joshua@kraemer.link).
+
 2024-05-19   Luigi Scarso <luigi.scarso@gmail.com>
         * Sync with https://github.com/ascherer/mplibdir commit c21f82c1990d1cdb86f51a00b5c81d0088e12454.
 
diff --git a/source/texk/web2c/mplibdir/svgout.w b/source/texk/web2c/mplibdir/svgout.w
index b1a74049582eebd1db07df48f22782dde75405cb..37e72b4bcec49ff30f5a39dbee04098b6aa6e980 100644
--- a/source/texk/web2c/mplibdir/svgout.w
+++ b/source/texk/web2c/mplibdir/svgout.w
@@ -1098,7 +1098,7 @@ void mp_svg_stroke_out (MP mp,  mp_graphic_object *h,
          }
          append_char(';');
       }
-
+    }  
     if (gr_ljoin_val((mp_stroked_object *)h)!=0) {
       append_string ("stroke-linejoin: ");
       switch (gr_ljoin_val((mp_stroked_object *)h)) {
@@ -1114,7 +1114,7 @@ void mp_svg_stroke_out (MP mp,  mp_graphic_object *h,
       mp_svg_store_double(mp, gr_miterlim_val((mp_stroked_object *)h)); 
       append_char(';');
     }
-    }
+
 
     append_string("fill: ");
     if (fill_also) {