From 19cfc18cf8f41d5ff858c3b4465ef662c5fa60fe Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 24 Nov 2023 18:20:16 -0500 Subject: [PATCH] Quote base64 data in PCB --- pcbnew/plugins/kicad/pcb_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plugins/kicad/pcb_plugin.cpp b/pcbnew/plugins/kicad/pcb_plugin.cpp index 86d1c7341b..15bad97567 100644 --- a/pcbnew/plugins/kicad/pcb_plugin.cpp +++ b/pcbnew/plugins/kicad/pcb_plugin.cpp @@ -1058,7 +1058,7 @@ void PCB_PLUGIN::format( const PCB_REFERENCE_IMAGE* aBitmap, int aNestLevel ) co while( first < out.Length() ) { m_out->Print( 0, "\n" ); - m_out->Print( aNestLevel + 2, "%s", TO_UTF8( out( first, MIME_BASE64_LENGTH ) ) ); + m_out->Print( aNestLevel + 2, "\"%s\"", TO_UTF8( out( first, MIME_BASE64_LENGTH ) ) ); first += MIME_BASE64_LENGTH; }